@hackage fay0.9.2.0
A compiler for Fay, a Haskell subset that compiles to JavaScript.
Categories
License
BSD-3-Clause
Maintainer
chrisdone@gmail.com
Links
- Homepage
- Documentation
- No source repository
- Security
Versions
Installation
CustomDependencies (28)
- HUnit
- aeson <0.7
- attoparsec
- base >=4 && <4.7
- blaze-html >=0.5 && <0.8.1.0
- blaze-markup Show all…
Dependents (13)
@hackage/yesod-fay, @hackage/fay-geoposition, @hackage/fpco-api, @hackage/olwrapper, @hackage/acme-everything, @hackage/fay-base, Show all…
Package Flags
devel
(off by default)
Don't build fay-tests and fay-docs if this flag is supplied
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
Fix name encoding.
Add content-type to HTML generation.
Add calculator example.
Support built-in operators as (+), (*), etc.
Fix self-referential thunks (see #89).
Don't import modules twice.
Handle where bindings in function definitions.
Support record updates.
Move to GHC type-checking (with --no-ghc).
Remove invalid chars from UTF-8 tests.
Remove --autorun, now it's the default.
Fix nullary constructor comparison.
Replace . with $ in module name generation.
Reverse -fdevel flag.
Skip type declarations in where.
Add true/false to keywords.
Add laziness back to infix operators.
Switch to applicative parsing of options.
Fix parens in conversion functions.
See full history at: https://github.com/chrisdone/fay/commits