Re: [Haskell] A MonadPlusT with fair operations and pruning

2005-06-22 Thread ajb
G'day all. Quoting [EMAIL PROTECTED]: : Since Andrew Bromage wished for that interesting monad, perhaps he has : in mind a good example of its use. We are particularly interested in a : short example illustrating soft-cut (and, perhaps, `once'). No obvious small examples of soft cut spring to

[Haskell] A MonadPlusT with fair operations and pruning

2005-06-21 Thread oleg
On Wed Jan 5 20:17:37 EST 2005, Andrew Bromage wrote on the Haskell-Cafe mailing list: BTW, if someone would like an interesting monad to play with, here is one that I've been playing with for a while. It's a nondeterminism monad transformer with negation-as-failure and if-then-else with