@@ -7,7 +7,69 @@ monad library for OCaml.
77
88It implements the following monads:
99
10- - ` Lemonade_Lazy `
11- - ` Lemonade_List `
12- - ` Lemonade_Maybe `
13- - ` Lemonade_Success `
10+ - ** Lemonade_Continuation** for continuation passing style programming.
11+ - ** Lemonade_Lazy** for lazy computations.
12+ - ** Lemonade_List** for computations yielding several possible results.
13+ - ** Lemonade_Maybe** for computations yielding zero or one result.
14+ - ** Lemonade_Reader** for computations explicitly depending on some environment.
15+ - ** Lemonade_Retry** for retryable computations.
16+ - ** Lemonade_State** for computations modifying a state.
17+ - ** Lemonade_Success** for computations failing with context information.
18+ - ** Lemonade_Writer** for computations writing a log book.
19+
20+
21+ ## Setup guide
22+
23+ It is easy to install ** Lemonade** using ** opam** and its * pinning*
24+ feature. In a shell visiting the repository, say
25+
26+ ``` console
27+ % autoconf
28+ % opam pin add lemonade .
29+ ```
30+
31+ It is also possible to install ** Lemonade** manually.
32+ The installation procedure is based on the portable build system
33+ [ BSD Owl Scripts] [ bsdowl-home ] written for BSD Make.
34+
35+ 1 . Verify that prerequisites are installed:
36+ - BSD Make
37+ - [ BSD OWl] [ bsdowl-install ]
38+ - OCaml
39+ - [ Broken] [ broken-home ]
40+ - [ Mixture] [ mixture-home ]
41+ - GNU Autoconf
42+
43+ 2 . Get the source, either by cloning the repository or by exploding a
44+ [ distribution tarball] ( releases ) .
45+
46+ 3 . Optionally run ` autoconf ` to produce a configuration script. This
47+ is only required if the script is not already present.
48+
49+ 4 . Run ` ./configure ` , you can choose the installation prefix with
50+ ` --prefix ` .
51+
52+ 5 . Run ` make build ` .
53+
54+ 6 . Optionally run ` make test ` to test your build.
55+
56+ 7 . Finally run ` make install ` .
57+
58+ Depending on how ** BSD Make** is called on your system, you may need to
59+ replace ` make ` by ` bsdmake ` or ` bmake ` in steps 5, 6, and 7.
60+ The ** GNU Make** program usually give up the ghost, croaking
61+ ` *** missing separator. Stop. ` when you mistakingly use it instead of
62+ ** BSD Make** .
63+
64+ Step 7 requires that you can ` su - ` if you are not already ` root ` .
65+
66+
67+ Michael Grünewald in Aachen, on November 12, 2015
68+
69+ [ licence-url ] : http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
70+ [ licence-en ] : COPYING
71+ [ licence-fr ] : COPYING-FR
72+ [ bsdowl-home ] : https://github.com/michipili/bsdowl
73+ [ bsdowl-install ] : https://github.com/michipili/bsdowl/wiki/Install
74+ [ broken-home ] : https://github.com/michipili/broken
75+ [ mixture-home ] : https://github.com/michipili/mixture
0 commit comments