mirror of
https://github.com/correl/calrissian.git
synced 2024-12-18 11:06:24 +00:00
Bump version and update README
This commit is contained in:
parent
22fb903209
commit
e7ac6bdfba
3 changed files with 16 additions and 9 deletions
10
README.rst
10
README.rst
|
@ -7,9 +7,13 @@ Introduction
|
|||
============
|
||||
|
||||
Calrissian is an implementation of monads in LFE, inspired by
|
||||
`erlando`_, mostly as a learning exercise. So far, only the Maybe,
|
||||
Error and Identity monads are supported.
|
||||
`erlando`_, mostly as a learning exercise. The following monads are currently supported:
|
||||
|
||||
* Identity
|
||||
* Maybe
|
||||
* Error
|
||||
* State
|
||||
* State Transformer
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
@ -70,7 +74,7 @@ and execution will cease.
|
|||
(include-lib "deps/calrissian/include/monads.lfe")
|
||||
|
||||
(defun dostuff ()
|
||||
(do-m error-monad
|
||||
(do-m (monad 'error)
|
||||
(input <- (fetch-input)) ;; fetch-input -> (tuple 'ok result) | (tuple 'error reason)
|
||||
(parsed <- (parse-input input)) ;; parse-input -> (tuple 'ok result) | (tuple 'error reason)
|
||||
(store-data parsed))) ;; store-data -> 'ok | (tuple 'error reason)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Expm.Package.new(
|
||||
name: "calrissian",
|
||||
description: "Monads for LFE",
|
||||
version: "0.0.1",
|
||||
version: "0.1.0",
|
||||
keywords: ["LFE", "Lisp", "Library", "Monads"],
|
||||
maintainers: [[name: "Correl Roush", email: "correl@gmail.com"]],
|
||||
repositories: [[github: "correl/calrissian"]])
|
||||
|
|
|
@ -5,15 +5,18 @@
|
|||
{description, "Monads for LFE"},
|
||||
|
||||
%% The version of the application
|
||||
{vsn, "0.0.1"},
|
||||
{vsn, "0.1.0"},
|
||||
|
||||
%% All modules used by the application.
|
||||
{modules,
|
||||
[
|
||||
'monad',
|
||||
'maybe-monad',
|
||||
'identity-monad',
|
||||
'error-monad'
|
||||
'calrissian-monad',
|
||||
'calrissian-state',
|
||||
'calrissian-identity-monad',
|
||||
'calrissian-maybe-monad',
|
||||
'calrissian-error-monad',
|
||||
'calrissian-state-transformer',
|
||||
'calrissian-util'
|
||||
]},
|
||||
|
||||
%% All of the registered names the application uses. This can be ignored.
|
||||
|
|
Loading…
Reference in a new issue