stream-monad

Simple, Fair and Terminating Backtracking Monad

http://github.com/sebfisch/stream-monad

Latest on Hackage:0.4.0.2

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.

BSD-3-Clause licensed by Oleg Kiselyov, Sebastian Fischer
Maintained by Sebastian Fischer (fischer@nii.ac.jp)

This Haskell library provides an implementation of the MonadPlus type class that enumerates results of a non-deterministic computation by interleaving subcomputations in a way that has usually much better memory performance than other strategies with the same termination properties.