Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pipes.Fluid.Simultaneous
- newtype Simultaneous m a = Simultaneous {
- simultaneously :: Producer a m ()
Documentation
newtype Simultaneous m a Source #
The applicative instance of this combines multiple Producers synchronously ie, yields a value only when both of the input producers yields a value. Ends as soon as any of the input producer is ended.
Constructors
Simultaneous | |
Fields
|
Instances
Monad m => Monad (Simultaneous m) Source # | |
Monad m => Functor (Simultaneous m) Source # | |
Monad m => Applicative (Simultaneous m) Source # | |
Wrapped (Simultaneous m0 a0) Source # | |
(~) * (Simultaneous m0 a0) t0 => Rewrapped (Simultaneous m1 a1) t0 Source # | |
type Unwrapped (Simultaneous m0 a0) Source # | |