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