Copyright | (c) Michal Konecny |
---|---|
License | BSD3 |
Maintainer | mikkonecny@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Generic multivalued select operation
Documentation
class IsBool (SelectType k) => CanSelect k where Source #
type SelectType k Source #
Must be Bool or similar
:: k | |
-> k | |
-> SelectType k | True means that the first computation succeeded. |
Execute two lazy computations "in parallel" until one of them succeeds.