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

[ library, mit, web, yesod ] [ Propose Tags ] [ Report a vulnerability ]

For initial discussion, see http://www.yesodweb.com/blog/2012/10/yesod-fay-js. This is a work-in-progress.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.1, 0.2.0, 0.2.0.1, 0.3.0, 0.4.0, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.4.0.5, 0.4.0.6, 0.4.0.7, 0.5.0, 0.5.0.1, 0.5.1, 0.5.2, 0.6.0, 0.6.0.1, 0.6.1, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 0.10.0
Change log ChangeLog.md
Dependencies aeson (>=0.6), base (>=4 && <5), bytestring (>=0.9), data-default (>=0.4), directory (>=1.1.0.2), fay (>=0.24), fay-dom (>=0.5), filepath, monad-loops (>=0.3.3.0), process, pureMD5 (>=2.1.2.1), 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
Maintainer michael@snoyman.com
Category Web, Yesod
Home page https://github.com/fpco/yesod-fay
Uploaded by swamp_agr at 2019-04-30T00:27:42Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 21593 total (44 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]

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.