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

[ library, mit, web, yesod ] [ Propose Tags ]

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

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,, 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, 0.9.0, 0.10.0
Change log
Dependencies aeson (>=0.6), base (>=4 && <5), bytestring (>=0.9), data-default (>=0.4), directory (>=, fay (>=0.24), 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.6), yesod-form (>=1.6), yesod-static (>=1.6) [details]
License MIT
Author Michael Snoyman
Category Web, Yesod
Home page
Uploaded by swamp_agr at 2019-04-30T00:27:42Z
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 21238 total (33 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for yesod-fay-0.10.0

[back to package description]


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.