Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- class Occasional a where
- data Event a
- hEv :: ArrowApply a => a (e, b) c -> a e c -> a (e, Event b) c
- hEv' :: ArrowApply a => a (e, b) c -> a e c -> a e c -> a (e, Event b) c
- evMaybe :: Arrow a => c -> (b -> c) -> a (Event b) c
- fromEvent :: Arrow a => b -> a (Event b) b
- evMap :: Arrow a => (b -> c) -> a (Event b) (Event c)
- split :: (Arrow a, Occasional b) => a (Event b) b
- join :: (Arrow a, Occasional b) => a b (Event b)
- split2 :: Event (Event a, Event b) -> (Event a, Event b)
- join2 :: (Event a, Event b) -> Event (Event a, Event b)
Documentation
class Occasional a where Source
isOccasion :: a -> Bool Source
Occasional (Event a) | |
(Occasional a, Occasional b) => Occasional (a, b) |
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
split :: (Arrow a, Occasional b) => a (Event b) b Source
join :: (Arrow a, Occasional b) => a b (Event b) Source