Safe Haskell | Safe-Inferred |
---|

# Documentation

mapE :: EventSource s => (a -> b) -> s a -> IO (EventStream b)Source

voidE :: EventSource s => s a -> IO (EventStream ())Source

scanE :: EventSource s => (b -> a -> b) -> b -> s a -> IO (EventStream b)Source

filterE :: EventSource s => (a -> Bool) -> s a -> IO (EventStream a)Source

skipDuplicatesE :: EventSource s => Eq a => s a -> IO (EventStream a)Source

stateMachineE :: EventSource s => (st -> a -> (st, b)) -> st -> s a -> IO (EventStream b)Source

takeWhileE :: EventSource s => (a -> Bool) -> s a -> IO (EventStream a)Source

takeE :: EventSource s => Num n => Ord n => n -> s a -> IO (EventStream a)Source

sinkMap :: EventSource s => (EventSink b -> EventSink a) -> s a -> EventStream bSource