Name: unamb Version: 0.2.7 x-revision: 1 Cabal-Version: >= 1.6 Synopsis: Unambiguous choice Category: Concurrency, Data, Other 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: . © 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. Author: Conal Elliott Maintainer: conal@conal.net Homepage: http://haskell.org/haskellwiki/unamb Package-Url: http://code.haskell.org/unamb Copyright: (c) 2008-2014 by Conal Elliott License: BSD3 Stability: experimental build-type: Simple source-repository head type: git location: git://github.com/conal/unamb.git Flag test Description: Enable testing Default: False Library hs-Source-Dirs: src Extensions: Build-Depends: base >= 4.6 && < 5 -- , tag-bits >= 0.1.1 && < 0.2 Exposed-Modules: Data.Unamb ghc-options: -Wall -- ghc-prof-options: -prof -auto-all -- Support testing with a pattern from Sean Leather -- Compilation works, but the executable segfaults: -- both identity: Segmentation fault/access violation in generated code -- I have no idea what could be going on there. The tests work fine -- in ghci but segfault when compiled via "ghc --make Main" also. Executable test-unamb hs-source-dirs: src, tests main-is: Tests.hs -- Only enable the build-depends here if configured with "-ftest". This -- keeps users from having to install QuickCheck 2 in order to use EMGM. if flag(test) build-depends: QuickCheck >= 2, checkers else buildable: False ghc-options: -threaded -- Tests run /much/ faster with -threaded .