| What it is | Free monads, free applicatives and cofree comonads for Haskell | id-free versions of Haskell's Category, Applicative, Monad and related type classes | Concrete functor and monad transformers for Haskell | Adjunctions and representable functors for Haskell |
| Features | - free monads over any Functor
- free applicatives
- cofree comonads for branching streams, rose trees and annotated syntax trees
- building blocks for domain-specific languages
| - Semigroupoid: Category without id
- Apply and Bind: Applicative without pure, Monad without return
- Alt and Plus: Alternative without empty
- Traversable1, Biapply, and the contravariant Divise, Decide and Conclude
| - the MonadTrans class for lifting through transformer stacks
- ReaderT, WriterT, StateT, ExceptT, MaybeT, ContT, RWST, AccumT, SelectT and IdentityT
- lazy, strict and CPS variants of State, Writer and RWS
- functor combinators: Compose, Product, Sum, Reverse, Constant, Backwards and Lift
- portable Haskell with no dependencies beyond base
- works with mtl or monads-tf for automatic lifting
| - adjunctions between functors
- representable functors
- adjoint monad and comonad transformers
- representable Reader, State and Store
|