@hackage fay0.12.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
$ cabal install fay-base
$ dist/build/fay-docs/fay-docs

Examples

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

Release Notes

. * Updates to name resolution.

. * Added initial fay-base support.

. * Basic CPP support (#136)

. * Serialization of Text values (#136)

. * Add Automatic serialization, export Automatic/Ptr, bump version.

. * Do not automatically serialize polymorphic values.

. * Support Ptr type to force the serializer to ignore things.

. * Add very dubious --package flag.

. * Support type imports (IAbs)

. * Support import X (a, b) and import X hiding (a, b).

. * Implement guards in case branches

. * Fix instance declarations missing when typechecking (closes #177)

. * Bump optparse-applicative to >= 0.5 (closes #195)

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