/usr/share/doc/libghc-monadlib-doc/README is in libghc-monadlib-doc 3.7.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | 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
|