name: fay version: 0.12.0.0 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 or build your own documentation with: . > $ cabal unpack fay > $ cd fay-* > $ cabal install > $ cabal install fay-base > $ dist/build/fay-docs/fay-docs . . /Examples/ . See . . /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: homepage: http://fay-lang.org/ license: BSD3 license-file: LICENSE author: Chris Done, Adam Bergmark maintainer: chrisdone@gmail.com, adam@edea.se copyright: 2012 Chris Done, Adam Bergmark category: Development build-type: Custom cabal-version: >=1.8 data-files: js/runtime.js hs/stdlib.hs src/Language/Fay/Stdlib.hs src/Language/Fay/FFI.hs extra-source-files: examples/ref.hs examples/alert.hs examples/console.hs examples/dom.hs examples/tailrecursive.hs examples/data.hs examples/canvaswater.hs examples/canvaswater.html examples/haskell.png -- Test cases tests/ints.hs tests/ints tests/asPatternMatch tests/caseList.hs tests/Double2.hs tests/fromInteger tests/List.hs tests/RecCon tests/recordPatternMatch tests/String.hs tests/asPatternMatch.hs tests/fromInteger.hs tests/RecCon.hs tests/recordPatternMatch2 tests/caseWildcard tests/Double3 tests/Monad tests/recordPatternMatch2.hs tests/tailRecursion tests/basicFunctions tests/caseWildcard.hs tests/Double3.hs tests/Monad2 tests/RecDecl tests/tailRecursion.hs tests/basicFunctions.hs tests/HierarchicalImport tests/Monad2.hs tests/RecDecl.hs tests/recordPatternMatch.hs tests/do tests/Double4 tests/then tests/Bool tests/doAssingPatternMatch tests/Double4.hs tests/HierarchicalImport.hs tests/Monad.hs tests/records tests/then.hs tests/Bool.hs tests/doAssingPatternMatch.hs tests/recordFunctionPatternMatch tests/records.hs tests/Double.hs tests/mutableReference tests/recordFunctionPatternMatch.hs tests/utf8 tests/case tests/doBindAssign tests/infixDataConst tests/mutableReference.hs tests/recordUseBeforeDefine tests/utf8.hs tests/case2 tests/doBindAssign.hs tests/emptyMain tests/infixDataConst.hs tests/RecordImport_Export tests/recordUseBeforeDefine.hs tests/case2.hs tests/emptyMain.hs tests/patternGuards tests/RecordImport_Export.hs tests/where tests/do.hs tests/List tests/patternGuards.hs tests/reservedWords tests/where.hs tests/case.hs tests/fix tests/List2 tests/RecordImport_Import tests/reservedWords.hs tests/Double tests/fix.hs tests/List2.hs tests/patternMatchFail.hs tests/RecordImport_Import.hs tests/caseList tests/Double2 tests/String tests/Hierarchical/Export.hs tests/Hierarchical/RecordDefined.hs tests/Api/Records.hs tests/Api/ImportRecords.hs -- Documentation files docs/beautify.js docs/highlight.pack.js docs/home.css docs/jquery.js docs/analytics.js -- Documentation snippets docs/snippets/conditions.hs docs/snippets/data.hs docs/snippets/declarations.hs docs/snippets/dom.hs docs/snippets/enums.hs docs/snippets/ffi.hs docs/snippets/functions.hs docs/snippets/lists.hs docs/snippets/patterns.hs docs/snippets/tail.hs docs/home.hs Flag devel Description: Don't build fay-tests and fay-docs if this flag is supplied Default: False library hs-source-dirs: src exposed-modules: Language.Fay, Language.Fay.Types, Language.Fay.FFI, Language.Fay.Prelude, Language.Fay.Convert, Language.Fay.Compiler, Language.Fay.Compiler.Misc, Language.Fay.Compiler.FFI, Language.Fay.Compiler.Optimizer, Language.Fay.Compiler.Packages, Language.Fay.ModuleScope other-modules: Language.Fay.Print, Control.Monad.IO, Language.Fay.Stdlib, System.Process.Extra, Data.List.Extra, Paths_fay ghc-options: -O2 -Wall build-depends: base >= 4 && < 5, aeson, attoparsec, bytestring, containers, data-default, directory, filepath, ghc-paths, groom, haskell-src-exts, language-ecmascript >= 0.10, mtl, pretty-show, process, random, safe, syb, text, unordered-containers, utf8-string, vector if !flag(devel) build-depends: -- Requirements for the executables which -- `cabal-dev ghci' needs. HUnit, blaze-html >= 0.5, blaze-markup, bytestring, time, optparse-applicative >= 0.5, split, test-framework, test-framework-hunit, test-framework-th executable fay hs-source-dirs: src ghc-options: -O2 -Wall ghc-prof-options: -fprof-auto main-is: Main.hs build-depends: base >= 4 && < 5, aeson, attoparsec, bytestring, containers, data-default, directory, filepath, ghc-paths, groom, haskell-src-exts, language-ecmascript >= 0.10, mtl, pretty-show, process, random, safe, syb, text, unordered-containers, utf8-string, vector, haskeline, optparse-applicative >= 0.5, split executable fay-tests if flag(devel) buildable: False hs-source-dirs: src ghc-options: -O2 -Wall -threaded -with-rtsopts=-N ghc-prof-options: -fprof-auto main-is: Tests.hs other-modules: Language.Fay.Compiler Test.Convert Test.Api Test.CommandLine Test.Util build-depends: base >= 4 && < 5, aeson, attoparsec, bytestring, containers, data-default, directory, filepath, ghc-paths, groom, haskell-src-exts, language-ecmascript >= 0.10, mtl, pretty-show, process, random, safe, syb, text, unordered-containers, utf8-string, vector, HUnit, test-framework, test-framework-hunit, test-framework-th executable fay-docs if flag(devel) buildable: False hs-source-dirs: src ghc-options: -O2 -Wall main-is: Docs.hs other-modules: Text.Blaze.Extra build-depends: base >= 4 && < 5, aeson, attoparsec, bytestring, containers, data-default, directory, filepath, ghc-paths, groom, haskell-src-exts, language-ecmascript >= 0.10, mtl, pretty-show, process, random, safe, syb, text, time, unordered-containers, utf8-string, vector, HUnit, blaze-html >= 0.5, blaze-markup