yesod-fay

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

https://github.com/fpco/yesod-fay

Version on this page:0.8.0
LTS Haskell 8.24:0.8.0
Stackage Nightly 2017-06-26:0.8.0
Latest on Hackage:0.10.0

See all snapshots yesod-fay appears in

MIT licensed by Michael Snoyman
Maintained by [email protected]
This version can be pinned in stack with:yesod-fay-0.8.0@sha256:69e26a6bf60a06c03a51a3fe7a440b118076e0f437ca8ec17c58b70ff4c041ef,1458

Module documentation for 0.8.0

yesod-fay

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.

Changes

0.8.0

  • Drop system-filepath