| Copyright | (c) Michal Konecny |
|---|---|
| License | BSD3 |
| Maintainer | mikkonecny@gmail.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
AERN2.Select
Description
Generic multivalued select operation
Documentation
class IsBool (SelectType k) => CanSelect k where Source #
Methods
Arguments
| :: k | |
| -> k | |
| -> SelectType k | True means that the first computation succeeded. |
Execute two lazy computations "in parallel" until one of them succeeds.
type CanSelectBool k = (CanSelect k, SelectType k ~ Bool) Source #
type CanSelectCNBool k = (CanSelect k, SelectType k ~ CN Bool) Source #