@hackage fay0.11.0.0

A compiler for Fay, a Haskell subset that compiles to JavaScript.

Fay is a proper subset of Haskell which can be compiled (type-checked) with GHC, and compiled to JavaScript. It is lazy, pure, with a Fay monad, an FFI, tail-recursion optimization (experimental). It implements no type system, for type-checking you should use GHC.

Documentation

See documentation at http://fay-lang.org/ or build your own documentation with:

$ cabal unpack fay
$ cd fay-*
$ cabal install
$ dist/build/fay-docs/fay-docs

Examples

See http://fay-lang.org/#examples.

Release Notes

. * Restrict optparse-applicative to < 0.5.

. * Error on case-wheres instead of ignoring them.

. * Fix serialization of parametrized types when the type information is available.

. * Fix recursive definition name resolving (closes #187).

. * Fix as patterns always matching (closes #186)

. * Fix bind error (closes #178).

. * Check GHC version from command line instead of CPP (#174)

. * Move Defined and Nullable to Language.Fay.FFI

. * Add Nullable.

. * Use GHC.Path for running ghc and handle flag change in GHC 7.6 (refs #174).

. * Add HASKELL_PACKAGE_SANDBOX environment variable support (closes #174).

. * Fix Maybe serialization.

. * Fix serializing for doubles (i.e. also parsing ints).

. * Option to warn for Closure-unfriendly FFI bindings.

See full history at: https://github.com/faylang/fay/commits