Skip to content

Simple, Fair and Terminating Backtracking Monad Transformer

License

Notifications You must be signed in to change notification settings

davidar/streamt

 
 

Repository files navigation

Simple, Fair and Terminating Backtracking Monad Transformer

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.

It also terminates in many cases where the fair conjunction and interleaving operators provided by LogicT fail to do so, allowing it to safely provide fairness by default.

More information is available on the author's website.

This package aims to be a drop-in replacement for the unmaintained stream-monad package, in addition to providing much of the same functionality as the logict package.

About

Simple, Fair and Terminating Backtracking Monad Transformer

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Haskell 100.0%