data-fresh

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.

BSD3 licensed by Stijn van Drongelen
Maintained by Stijn van Drongelen

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:

  • In Stream, the comonad provides a way to succeed a value.

  • In 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.

Depends on:
Used by 1 package:
comments powered byDisqus