Commit graph

16 commits

Author SHA1 Message Date
Duncan M. McGreggor
e23ab8f448 Removed trailing whitespace. 2015-05-21 20:56:59 -05:00
Duncan McGreggor
8fbb180c7c More formatting tweaks. 2015-05-21 19:14:39 -05:00
22fb903209 Remove unnecessary state monad implementation
(monad 'state) is synonymous with (transformer 'state 'identity). The
monad macro has been updated to reflect that.
2014-07-09 22:37:16 -04:00
99be83ee71 Add macros to simplify monad usage 2014-07-09 22:28:06 -04:00
Correl Roush
0914cf5779 Rename modules with calrissian- prefix 2014-07-09 21:55:27 -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
02ada611df Remove monad atom evaluation skipping in macros 2014-05-13 19:30:46 -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
7367dc2d05 Add fail macro 2014-04-25 01:27:13 -04:00
888effbf13 Rename 'do' to 'do-m'
'do' is a built-in lisp macro
2014-04-25 01:11:33 -04:00
f923b68374 Add sequence, more generic monad tests 2014-04-25 01:06:19 -04:00
7bd6d5963e Delete old 'maybe' include file 2014-04-25 00:21:06 -04:00
323cf28830 Add generic tests for monad laws 2014-04-25 00:20:10 -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
615d427fa8 Maybe 2014-04-24 00:47:45 -04:00