| 1 |
This is version 3 of 'monadLib'. |
| 2 |
The library is in the directory 'src'. |
| 3 |
|
| 4 |
Files |
| 5 |
~~~~~ |
| 6 |
|
| 7 |
LICENSE The license for the library. |
| 8 |
README This file. |
| 9 |
Setup.hs Used by the Cabal framework. |
| 10 |
monadLib.cabal Used by the Cabal framework. |
| 11 |
|
| 12 |
src/MonadLib.hs The library. |
| 13 |
src/MonadLib/Derive.hs Definitions useful for monads defined with newtype. |
| 14 |
src/MonadLib/Monads.hs Definitions for some more base monads (optional). |
| 15 |
|
| 16 |
|
| 17 |
Simple Installation |
| 18 |
~~~~~~~~~~~~~~~~~~~ |
| 19 |
|
| 20 |
To use 'monadLib' you should place the file 'MonadLib.hs' |
| 21 |
(and perhaps also 'Monads.hs') in a place where your |
| 22 |
implementation can find it. |
| 23 |
|
| 24 |
|
| 25 |
Cabal Installation |
| 26 |
~~~~~~~~~~~~~~~~~~ |
| 27 |
|
| 28 |
The library supports the Cabal framework which has many options. |
| 29 |
To see the available commands try: |
| 30 |
> runhaskell Setup.hs --help |
| 31 |
|
| 32 |
A typical installation might look something like this: |
| 33 |
> runhaskell Setup.hs configure |
| 34 |
> runhaskell Setup.hs build |
| 35 |
> runhaskell Setup.hs haddock -- if you have haddock, else skip |
| 36 |
> runhaskell Setup.hs install |
| 37 |
|
| 38 |
|
| 39 |
|