Interface and functor transformers for fresh values
|Latest on Hackage:||0.2013.251.0|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
A simple library, which contains an interface for generating fresh values.
This library also includes two functor transformers which implement this interface. They consume fresh values from user-supplied comonads. Currently, two approaches are implemented:
Stream, the comonad provides a way to succeed a value.
Delta, the comonad provides a way to split the value or to succeeded it. The benefit is that the underlying functor doesn't need to be a monad.