Maintainer | Ertugrul Soeylemez <es@ertes.de> |
---|
Simple wire transformers.
- class Arrow >~ => WOverrideInput (>~) where
- (>--) :: WOverrideInput >~ => (a -> a) -> Wire e >~ a b -> Wire e >~ a b
Override input
class Arrow >~ => WOverrideInput (>~) whereSource
Override input.
(--<) :: Arrow >~ => Wire e >~ a b -> (a -> a) -> Wire e >~ a bSource
Apply the given function to the input, until the argument wire starts producing.
- Depends: Like argument wire.
- Inhibits: Like argument wire.
Monad m => WOverrideInput (Kleisli m) |
(>--) :: WOverrideInput >~ => (a -> a) -> Wire e >~ a b -> Wire e >~ a bSource
Apply the given function to the input, until the argument wire starts producing.
- Depends: Like argument wire.
- Inhibits: Like argument wire.