Commits

Meikel Brandmeyer committed b55876b

Move description from source to README

  • Participants
  • Parent commits aaa3092

Comments (0)

Files changed (2)

+monad is a small support library for Clojure which provides some of
+the infrastructure to handle monads. A monad can be anything, which
+has meta-data. The key ::monad defines the type of the actual monad.
+This value is used as the dispatch value for the bind multimethod.
+bind is obviously dependent on the actual monad implementation.
+
+An application of monads are for example the parser combinators. Here
+the monads serve as means to combine different parsers together to form
+new parsers. An example implementation for Clojure is „Parser“ from the
+same author.
+
+-- Meikel Brandmeyer, <mb@kotka.de>
+   2008, Frankfurt am Main

File src/de/kotka/monad.clj

 ; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 ; THE SOFTWARE.
 
-(comment
-  "Description
-  -----------
-
-  `monad` is a small support library for Clojure_ which provides some of
-  the infrastructure to handle monads. A monad is defined as a `struct-map`
-  which contains the key `:monad`, which defines the type of the actual
-  monad. This value is used as the dispatch value for the `bind` multimethod.
-  `bind` is obviously dependent on the actual monad implementation.
-
-  On application of monads are for example the parser combinators. Here
-  the monads server as means to combine different parsers together to form
-  new parsers. An example implementation for Clojure_ is „Parser_“ from the
-  same author.
-
-  .. _Clojure: http://clojure.org
-  .. _Parser:  http://kotka.de/projects/clojure/parser.html")
-
 (clojure.core/ns de.kotka.monad)
 
 (def