Safe Haskell | Trustworthy |
---|---|
Language | Haskell98 |
Control.Eff.Choose
Description
Nondeterministic choice effect
Documentation
Nondeterministic choice
Constructors
forall a . Choose [a] (a -> v) |
choose :: Member Choose r => [a] -> Eff r a Source
choose lst non-deterministically chooses one value from the lst choose [] thus corresponds to failure