monad

basic monadic data types for Nim


Keywords
library, functional, monad, functor, nim, optional
License
BSD-3-Clause
Install
nimble install monad

Documentation

monad

A (hopefully) pragmatic implementation of some useful monads. Looking to define the generic typeclass for them in the near future.

For an explanation of Monads, feel free to peruse the internet for the dozens of tutorials on the subject. A favorite of mine is the text, "Learn You a Haskell for Great Good".

Monads can be a weird, scary concept at first. But they are a very powerful pattern for structuring computation. Hopefully this library is of use to some, if only to learn something new.

Installation

Should be installed via nimble

nimble install monad

License Info

Copyright (c) Josh Filstrup 2014 Licensed under BSD3 (see license.md for details)