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

  • Rewrite home page/docs JS in Fay. Because dogfood.

  • Support bool unseralization.

  • Export more functions from stdlib.

  • Add fixity to monad.

  • Replace home page JS with Fay.

  • Another FFI change. BREAKING CHANGE, LOOK AT THE FFI AND EXAPLES AGAIN.

  • Handle list unserializing.

  • Fix dom.hs.

  • Add simple sum benchmark, will expand later (refs #11).

  • Fix auto-exports.

  • Fix docs for silly haddock syntax.

  • Support avoiding Google Closure name mangling.

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