machinecell-1.3.1: Arrow based stream transducers

Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Arrow.Machine.Event

Contents

Synopsis

Documentation

class Occasional a where Source

Minimal complete definition

noEvent, end, isNoEvent, isEnd

Instances

Deprecated

They should be used only for internal use.

hEv :: ArrowApply a => a (e, b) c -> a e c -> a (e, Event b) c Source

hEv' :: ArrowApply a => a (e, b) c -> a e c -> a e c -> a (e, Event b) c Source

evMaybe :: Arrow a => c -> (b -> c) -> a (Event b) c Source

fromEvent :: Arrow a => b -> a (Event b) b Source

evMap :: Arrow a => (b -> c) -> a (Event b) (Event c) Source

split :: (Arrow a, Occasional b) => a (Event b) b Source

join :: (Arrow a, Occasional b) => a b (Event b) Source

split2 :: Event (Event a, Event b) -> (Event a, Event b) Source

join2 :: (Event a, Event b) -> Event (Event a, Event b) Source