brianhv/fay-jquery — pull request #1 by bergmark (2012-08-22 01:02:28+00:00)
Title: Add cabal file with a data-file for the lib. cabal install works. Library can be imported with fay --include

With this the library can be `cabal install`'ed and used anywhere. Here's how I compile with GHC and fay:

```
fay --include=cabal-dev/share/fay-jquery-0.1.0.0/ test.hs
ghc cabal-dev/share/fay-jquery-0.1.0.0/Language/Fay/JQuery.hs test.hs
```

The goal is to make this automatic so fay can find the paths to libs through Cabal as well. And add type checking to the fay executable so you don't need to call `ghc` to type-check.

Feel free to fill in the blanks in the .cabal file.

Thanks for working on this by the way! With this change I can start using it in the snaplet-fay example for instance :)