@hackage fay0.2.2.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

Some more compilation options.

  • Optional flat function application (-flatten-apps).

  • Exporting-builtins is optional (-no-export-builtins).

  • The main module is annotated as a Closure @constructor.

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