File: README

package info (click to toggle)
haskell-monadlib 3.7.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 108 kB
  • sloc: haskell: 636; makefile: 4
file content (39 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
This is version 3 of 'monadLib'.
The library is in the directory 'src'.

Files
~~~~~

LICENSE             The license for the library.
README              This file.
Setup.hs            Used by the Cabal framework.
monadLib.cabal      Used by the Cabal framework.

src/MonadLib.hs        The library.
src/MonadLib/Derive.hs Definitions useful for monads defined with newtype.
src/MonadLib/Monads.hs Definitions for some more base monads (optional).


Simple Installation
~~~~~~~~~~~~~~~~~~~

To use 'monadLib' you should place the file 'MonadLib.hs'
(and perhaps also 'Monads.hs') in a place where your
implementation can find it.


Cabal Installation
~~~~~~~~~~~~~~~~~~

The library supports the Cabal framework which has many options.
To see the available commands try:
> runhaskell Setup.hs --help

A typical installation might look something like this:
> runhaskell Setup.hs configure
> runhaskell Setup.hs build
> runhaskell Setup.hs haddock -- if you have haddock, else skip
> runhaskell Setup.hs install