Browse files

doc bump

  • Loading branch information...
1 parent 7d57748 commit 098ab7a76dbc127d5696054f54c34cdb1ef0a636 @bergmark bergmark committed Aug 18, 2012
Showing with 11 additions and 11 deletions.
  1. +9 −10
  2. +2 −1 snaplet-fay.cabal
@@ -19,25 +19,20 @@ Features
* Uses Fay's pretty print option (js-beautify) to create JS files that
are easier to debug.
* Writes JS to disk to allow reading the generated source.
+* Share Fay source files between Haskell and Fay.
-You will need Haskell, Snap and Fay installed. The simplest way to get
-up and running with Haskell is to install
+You will need Haskell. The simplest way to get up and running with is
+to install
[The Haskell Platform](
-Snap and Fay are available on hackage:
-cabal install snap fay
+Everything else is available on hackage:
-Clone this repository and install the package:
+cabal install snaplet-fay
-cabal install
Example Usage
@@ -47,6 +42,8 @@ Site.hs:
import Snap.Snaplet.Fay
+routes = [..., ("/fay", with fay fayServe)]
app :: SnapletInit App App
app = makeSnaplet "app" "A snaplet example application." Nothing $ do
fay' <- nestSnaplet "fay" fay initFay
@@ -73,6 +70,8 @@ devel.cfg will not be created if you have already created the fay
directory, if this happens to you move snaplets/fay, start your
application, and then move the files back into snaplets/fay.
+Any requests to the specified directory (in this case /fay/) will
+compile the appropriate Fay file and serve it.
Development Status
@@ -8,12 +8,13 @@ name: snaplet-fay
synopsis: Fay integration for Snap with automatic (re)compilation during development
description: Fay integration for Snap with automatic (re)compilation during development.
- For more information, please see <> .
+ For more information, please see <>.
license: BSD3
license-file: LICENSE
author: Adam Bergmark
category: Web, Snap
build-type: Simple
cabal-version: >=1.8

0 comments on commit 098ab7a

Please sign in to comment.