Correl Roush
0914cf5779
Rename modules with calrissian- prefix
2014-07-09 21:55:27 -04:00
76ffe600ef
Fix state-transformer:modify-and-return
...
The method was returning a single value, rather than the necessary tuple
required for binding to work.
2014-07-09 01:42:04 -04:00
d399492679
Modify the monad test macros to work with state
...
If the monad being tested implements the new state behaviour, evaluate
the expected value and the result by running them both against a default
state before comparing them.
2014-07-09 01:42:04 -04:00
abf8291058
Fix monad behaviour callback
2014-07-09 01:39:47 -04:00
1ee02b261a
Add state monad and behaviour
2014-07-09 01:39:22 -04:00
4ec1a9897d
wip: modify-and-return
2014-05-13 19:40:37 -04:00
4db1e51ab7
fixup state transformer monad
2014-05-13 19:31:15 -04:00
5721c3fc58
State Transformer
2014-05-12 00:21:24 -04:00
f88d977017
Generalize calls to monad functions
...
Use call instead of : to call functions on monad modules in order to
support tuple modules. This will come in handy when implementing monad
transformers.
2014-05-11 17:25:17 -04:00
de418111bb
Error monad
2014-04-25 13:02:16 -04:00
7a6a23e92c
Identity monad
2014-04-25 01:27:47 -04:00
010e2c9327
Renamed project to Calrissian
2014-04-24 16:08:27 -04:00
c0441ca1e7
Generalized monad interface
2014-04-24 15:37:45 -04:00
ecd20c50ec
Fix do notation expressions without bindings
2014-04-24 09:49:37 -04:00
615d427fa8
Maybe
2014-04-24 00:47:45 -04:00