The latest version of fay is 0.24.2.0-0.

fay

Version 0.10.1.0 revision 2 uploaded by AdamBergmark.

Package meta

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

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

  • Enable strict list for arithmetic sequences optimisation only when compiler optimise flag set.

  • Add print and putStrLn to the Prelude

  • Add list utility functions from the standard Prelude

  • Test optimized as well as unoptimized builds.

  • Standard precendence and associativity for infix operators

  • Add function utilities from Prelude, including seq

  • Add math functions in Prelude

  • Add support for sections (desugaring to lambdas)

  • Added example of the ContT and Deferred monad, sleep and readFile.

  • Add more of the prelude, including error and a lot of math stuff.

  • Remove needs for module declarations in modules that define main.

  • Support enumThen ([1,2..]) style lists.

  • Add support for enumFromThenTo ([1,2..10]) lists.

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

Author
Chris Done, Adam Bergmark
Bug reports
n/a
Category
Development
Copyright
2012 Chris Done
Homepage
http://fay-lang.org/
Maintainer
chrisdone@gmail.com, adam@edea.se
Package URL
n/a
Stability
n/a

Components