From e7ac6bdfbacb4afd327da620beb09d1c85258699 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Wed, 9 Jul 2014 23:02:19 -0400 Subject: [PATCH] Bump version and update README --- README.rst | 10 +++++++--- package.exs | 2 +- src/calrissian.app.src | 13 ++++++++----- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/README.rst b/README.rst index 9c11d4b..bd5e1bf 100644 --- a/README.rst +++ b/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) diff --git a/package.exs b/package.exs index 34d92b6..027db08 100644 --- a/package.exs +++ b/package.exs @@ -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"]]) diff --git a/src/calrissian.app.src b/src/calrissian.app.src index 72f11ed..0248928 100644 --- a/src/calrissian.app.src +++ b/src/calrissian.app.src @@ -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.