Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data Split :: Effect where Source #
An effect for splitting a nondeterministic computation into its head and tail.
Split
is typically used as a primitive effect.
If you define a Carrier
that relies on a novel
non-trivial monad transformer, then you need to make
a
instance for that monad transformer
to lift ThreadsEff
Split
(if possible).
The following threading constraints accept Split
: