The fay package

[Tags:bsd3, library, program]

Fay is a proper subset of Haskell which is type-checked with GHC, and compiled to JavaScript. It is lazy, pure, has a Fay monad, an FFI, tail-recursion optimization (experimental), and support for cabal packages.


See documentation at or build your own documentation with:

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



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:


Versions,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 0.18.1,,,, 0.19,,, 0.19.1,,, 0.19.2,,,,,,,,,,,,,,,, 0.21.1, 0.21.2,,,,,,,,,,,,,,,,,,,,,
Dependencies aeson (<0.7), attoparsec, base (==4.6.*), blaze-html (>=0.5 && <0.8.1), blaze-markup, bytestring, containers, data-default, directory, filepath, ghc-paths, groom, haskeline, haskell-src-exts (<1.14), HUnit, language-ecmascript (>=0.10), mtl, optparse-applicative (==0.5.*), pretty-show, process, random, safe, split, syb, test-framework, test-framework-hunit, test-framework-th, text, time, unordered-containers, utf8-string, vector [details]
License BSD3
Copyright 2012 Chris Done, Adam Bergmark
Author Chris Done, Adam Bergmark
Category Development
Home page
Bug tracker
Source repository head: git clone
Uploaded Wed Jan 23 23:16:41 UTC 2013 by AdamBergmark
Updated Fri Aug 14 18:56:01 UTC 2015 by AdamBergmark to revision 4
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 20449 total (127 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




develDon't build fay-tests and fay-docs if this flag is suppliedDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees