Copyright | (c) 2016 Ertugrul Söylemez |
---|---|
License | BSD3 |
Maintainer | Ertugrul Söylemez <esz@posteo.de> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Wire utilities
withM_ :: Monad m => (s -> Wire m a b) -> m s -> Wire m a b Source #
Run the given action to initialise the given wire. Simplified
variant of withM
. Example:
withM_ (scan f) action
Event utilities
filterE :: (a -> Bool) -> Event a -> Event a Source #
Filter event occurrences using the given function.