Monads in LFE
Find a file
2014-04-25 01:30:46 -04:00
include Add fail macro 2014-04-25 01:27:13 -04:00
src Identity monad 2014-04-25 01:27:47 -04:00
test/unit Identity monad 2014-04-25 01:27:47 -04:00
.gitignore Maybe 2014-04-24 00:47:45 -04:00
.travis.yml Maybe 2014-04-24 00:47:45 -04:00
common.mk Renamed project to Calrissian 2014-04-24 16:08:27 -04:00
Makefile Maybe 2014-04-24 00:47:45 -04:00
package.exs Renamed project to Calrissian 2014-04-24 16:08:27 -04:00
README.rst Update README to list the Identity monad 2014-04-25 01:30:46 -04:00
rebar.config Maybe 2014-04-24 00:47:45 -04:00

###########
calrissian
###########


Introduction
============

Calrissian is an implementation of monads in LFE, inspired by
`erlando`_, mostly as a learning exercise. So far, only the Maybe and
Identity monads are supported.

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, [
        ...
        {calrissian, ".*", {git, "git@github.com:correl/calrissian.git", "master"}}
      ]}.


And then do the usual:

.. code:: bash

    $ rebar get-deps
    $ rebar compile


Usage
=====

Coming soon          

.. Links
.. -----
.. _erlando: https://github.com/rabbitmq/erlando
.. _rebar: https://github.com/rebar/rebar
.. _LFE: https://github.com/rvirding/lfe
.. _lfeunit: https://github.com/lfe/lfeunit