Publisher review:List/Generator Monad Combinators script implements the Monad combinators "bind", "return" and "fail". The List monad in Haskell has many uses, including parsing and nondeterministic algorithms.
This code implements the Monad combinators "bind", "return" and "fail", and the MonadPlus combinators "plus" and "zero". It works with all iterables, and returns a generator rather than a list in order to preserve a lazy semantics.
List/Generator Monad Combinators 1.1 is a Python script for Programming Methods and Algorithms scripts design by Dominic Fox.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
implements the Monad combinators
Operating system:Windows / Linux / Mac OS / BSD / Solaris