Description
Unambiguous choice.
Description
unamb contains the "unambiguous choice" operator unamb
, which 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.