This library is defining the language that allows you to express rules in Nomic.
This libary is used by the package Nomyx, it should be installed through it by typing:
cabal install Nomyx
However, to activate online documentation, install with:
cabal install --enable-documentation --haddock-hyperlink-source Nomyx-Language
To install from the git repository:
git clone git://github.com/cdupont/Nomyx-Language.git
cabal install --enable-documentation --haddock-hyperlink-source Nomyx-Language/
The library comes with haddock documentation you can build (see above). Check examples/Examples.hs to see a list of example rules. Simply copy-paste those rules (the function name or the code) in the field "code" on Nomyx web gui and see what happens!
Bug-reports, questions, suggestions and patches are all welcome.