/monads-from-scratch

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

monads-from-scratch

This repository does not pretend to be a production library, instead, it defines the most used monads in haskell from scratch and some examples on how to use them; the idea is to understand this useful algebraic constructs.

Note: Some mathematical concepts are skipped.

Please check the tests to see examples of how to use them.

Monads:

Monad transformers:

Type classes:

Build

stack build

Run tests

stack test