Duncan M. McGreggor
e23ab8f448
Removed trailing whitespace.
2015-05-21 20:56:59 -05:00
Duncan M. McGreggor
572022bf98
Merge branch 'update-deps' into formatting
2015-05-21 20:46:38 -05:00
Duncan M. McGreggor
ec3c5426ce
Merge branch 'formatting' of github.com:lfex/calrissian into formatting
2015-05-21 20:46:13 -05:00
Duncan M. McGreggor
2577cf91f4
Removed old targets.
2015-05-21 20:45:42 -05:00
Duncan M. McGreggor
1518454010
Fixed bad copy/paste.
2015-05-21 20:44:39 -05:00
Duncan M. McGreggor
e0cc758e79
Merge branch 'master' of github.com:lfex/calrissian into formatting
2015-05-21 20:42:49 -05:00
Duncan McGreggor
8fccd61f83
Merge branch 'update-deps' into formatting
2015-05-21 19:15:09 -05:00
Duncan McGreggor
8fbb180c7c
More formatting tweaks.
2015-05-21 19:14:39 -05:00
Duncan McGreggor
1a37e663e5
Added another target for Jenkins' use.
2015-05-21 18:27:34 -05:00
Duncan McGreggor
47827b2fe9
Updated travis make target.
2015-05-21 18:23:23 -05:00
Duncan McGreggor
1c9fe229cb
Updated formatting to use data forms.
2015-05-21 18:20:06 -05:00
Duncan McGreggor
25fbba197e
Merge branch 'update-deps' into formatting
2015-05-21 17:59:30 -05:00
Duncan McGreggor
3952a89184
Updated make file and include to latest.
2015-05-21 17:42:05 -05:00
Duncan McGreggor
e5ab919365
Added version util funcs.
2015-05-21 17:41:52 -05:00
Duncan McGreggor
e0dbe6ff15
Replaced obselete EXPM data with lfe.config.
2015-05-21 17:39:27 -05:00
Duncan McGreggor
0ffaf48730
Updated deps and unit tests to latest.
2015-05-21 17:31:11 -05:00
81abdb806f
Merge pull request #1 from lfex/master
...
Use standard indentation.
2015-05-20 09:42:04 -04:00
Duncan M. McGreggor
69be73e4a3
Various formatting tweaks.
2015-05-19 23:30:19 -05:00
Duncan M. McGreggor
47d70c8772
Using pwd in ERL_LIBS allows standard usage of include.
...
Also, this allows one to use the same include when using the code in a release
(a la relx, etc.).
2015-05-19 23:12:13 -05:00
Duncan M. McGreggor
2ea5b9289c
Use standard indentation.
2015-05-19 23:08:24 -05:00
9f12d3edf8
Add OTP version 17.0 to the travis build config
2014-07-09 23:25:37 -04:00
953f22f55a
Update Makefile using current lfetool (v1.0.0)
2014-07-09 23:09:04 -04:00
e7ac6bdfba
Bump version and update README
2014-07-09 23:02:19 -04: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
a45fda11a7
Remove lfe sample rebar plugin dependency
2014-07-09 01:44:09 -04:00
e653ea0b84
Apply the generic monad tests to state-transformer
2014-07-09 01:42:04 -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
02ada611df
Remove monad atom evaluation skipping in macros
2014-05-13 19:30:46 -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
df4d65f0b3
Add a Travis-CI build status image to the README
2014-04-25 14:05:13 -04:00
eec3555383
Add an error monad example to the README
2014-04-25 14:03:54 -04:00
de418111bb
Error monad
2014-04-25 13:02:16 -04:00
fdfdd8b085
Clean up maybe monad tests
...
Removed redundant tests
2014-04-25 01:53:29 -04:00
8ffd854ee2
Update .travis.yml
2014-04-25 01:43:50 -04:00
92b6ca9851
Update README to list the Identity monad
2014-04-25 01:30:46 -04:00
7a6a23e92c
Identity monad
2014-04-25 01:27:47 -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