The yesod-fay package

[Tags: library, mit]

For initial discussion, see This is a work-in-progress.

[Skip to ReadMe]


Versions0.1.0.0,,,,, 0.1.1, 0.2.0,, 0.3.0, 0.4.0,,,,,,,, 0.5.0,, 0.5.1, 0.5.2, 0.6.0,, 0.6.1, 0.7.0, 0.7.1, 0.8.0
Dependenciesaeson (>=0.6), base (==4.*), bytestring (>=0.9), data-default (>=0.4), directory (>=, fay (>=, fay-dom (>=0.5), filepath, monad-loops (>=, process, pureMD5 (>=, shakespeare, template-haskell, text (>=0.11), transformers (>=0.2), utf8-string (>=0.3.7), yesod-core (>=1.4), yesod-form (>=1.4), yesod-static (>=1.4) [details]
AuthorMichael Snoyman
CategoryWeb, Yesod
Home page
UploadedTue May 12 09:57:17 UTC 2015 by MichaelSnoyman
DistributionsLTSHaskell:0.8.0, NixOS:0.8.0, Stackage:0.8.0
Downloads4331 total (185 in last 30 days)
0 []
StatusDocs available [build log]
Last success reported on 2015-05-21 [all 2 reports]




Maintainers' corner

For package maintainers and hackage trustees

Readme for yesod-fay-0.8.0


Utilities for using the Fay Haskell-to-JS compiler with Yesod.

For an example of a Yesod application with Fay integrated, have a look at the sample/ directory in this repository, or alternatively use the experimental Postgres-Fay (pf) application template (select it when running yesod init with recent versions of Yesod).

Usage with cabal sandboxes

You are highly encouraged to create a cabal sandbox for your Yesod app. This feature is available in cabal 1.18+.

Use the following command to set an environment variable (this is a workaround, needed until Fay integrates with haskell-packages, only possible after cabal 1.20 is released).

export HASKELL_PACKAGE_SANDBOX=`echo .cabal-sandbox/*-packages.conf.d/`

Make sure to run this from the root of the Yesod project.