2014-04-24 04:47:45 +00:00
|
|
|
###########
|
2014-04-24 20:08:27 +00:00
|
|
|
calrissian
|
2014-04-24 04:47:45 +00:00
|
|
|
###########
|
|
|
|
|
|
|
|
|
|
|
|
Introduction
|
|
|
|
============
|
|
|
|
|
2014-04-24 20:08:27 +00:00
|
|
|
Calrissian is an implementation of monads in LFE, inspired by
|
2014-04-25 05:30:46 +00:00
|
|
|
`erlando`_, mostly as a learning exercise. So far, only the Maybe and
|
|
|
|
Identity monads are supported.
|
2014-04-24 04:47:45 +00:00
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
|
|
|
This project assumes that you have `rebar`_ installed somwhere in your
|
|
|
|
``$PATH``.
|
|
|
|
|
|
|
|
This project depends upon the following, which are installed to the ``deps``
|
|
|
|
directory of this project when you run ``make deps``:
|
|
|
|
|
|
|
|
* `LFE`_ (Lisp Flavored Erlang; needed only to compile)
|
|
|
|
* `lfeunit`_ (needed only to run the unit tests)
|
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
|
|
|
Just add it to your ``rebar.config`` deps:
|
|
|
|
|
|
|
|
.. code:: erlang
|
|
|
|
|
|
|
|
{deps, [
|
|
|
|
...
|
2014-04-24 20:08:27 +00:00
|
|
|
{calrissian, ".*", {git, "git@github.com:correl/calrissian.git", "master"}}
|
2014-04-24 04:47:45 +00:00
|
|
|
]}.
|
|
|
|
|
|
|
|
|
|
|
|
And then do the usual:
|
|
|
|
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
$ rebar get-deps
|
|
|
|
$ rebar compile
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
=====
|
|
|
|
|
2014-04-24 20:08:27 +00:00
|
|
|
Coming soon
|
2014-04-24 04:47:45 +00:00
|
|
|
|
|
|
|
.. Links
|
|
|
|
.. -----
|
2014-04-24 20:08:27 +00:00
|
|
|
.. _erlando: https://github.com/rabbitmq/erlando
|
2014-04-24 04:47:45 +00:00
|
|
|
.. _rebar: https://github.com/rebar/rebar
|
|
|
|
.. _LFE: https://github.com/rvirding/lfe
|
|
|
|
.. _lfeunit: https://github.com/lfe/lfeunit
|