The free package
Free monads are useful for many tree-like structures and domain specific languages.
A Monad n is a free Monad for f if every Monad homomorphism from n to another monad m is equivalent to a natural transformation from f to m.
Cofree comonads provide convenient ways to talk about branching streams and rose-trees, and can be used to annotate syntax trees.
A Comonad v is a cofree Comonad for f if every Comonad homomorphism another comonad w to v is equivalent to a natural transformation from w to f.
Properties
| Versions | 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 1.8.0, 1.8.0.1, 1.8.0.3, 1.8.0.4, 2.0, 2.0.1, 2.0.1.1, 2.0.2, 2.0.3, 2.1, 2.1.1, 2.1.1.1, 2.2, 3.0, 3.1, 3.1.1, 3.2, 3.3, 3.3.0.1, 3.3.0.2, 3.3.1, 3.4, 3.4.1 |
|---|---|
| Dependencies | base (4.*), bifunctors (≥3), comonad (≥3), comonad-transformers (≥3), comonads-fd (≥3), distributive (≥0.2.1), mtl (≥2.0.1.0 & <2.2), semigroupoids (≥3), semigroups (≥0.8.3.1), transformers (≥0.2.0 & <0.4) |
| License | BSD3 |
| Copyright | Copyright (C) 2008-2012 Edward A. Kmett |
| Author | Edward A. Kmett |
| Maintainer | Edward A. Kmett <ekmett@gmail.com> |
| Stability | provisional |
| Category | Control, Monads |
| Home page | http://github.com/ekmett/free/ |
| Bug tracker | http://github.com/ekmett/free/issues |
| Source repository | git clone git://github.com/ekmett/free.git |
| Upload date | Sat Mar 23 20:38:36 UTC 2013 |
| Uploaded by | EdwardKmett |
| Built on | ghc-7.6 |
| Distributions | Debian: 3.3.1 |
Modules
- Control
Downloads
- free-3.4.1.tar.gz (Cabal source package)
- package description (included in the package)