Unambiguous choice http://haskell.org/haskellwiki/unamb
|Latest on Hackage:||0.2.7@rev:1|
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.
unamb contains the "unambiguous choice" operator
wraps thread racing up in a purely functional, semantically simple
wrapper. Originally a part of Reactive, I moved unamb to its own
package in order to encourage experimentation.
Note: unamb correctly implements lub (least upper bound) for flat types only. I suggest using the lub package instead of unamb.
Project wiki page: http://haskell.org/haskellwiki/unamb
© 2008-2014 by Conal Elliott; BSD3 license.
Contributions from: Luke Palmer, Spencer Janssen, Sterling Clover, Bertram Felgenhauer, Peter Verswyvelen, Svein Ove Aas, and Edward Kmett. Please let me know if I've forgotten to list you.