reactive-midyim-0.2: Process MIDI events via reactive-banana

Safe HaskellNone

Reactive.Banana.MIDI.Utility

Documentation

partition :: (a -> Bool) -> Event f a -> (Event f a, Event f a)Source

mapMaybe :: (a -> Maybe b) -> Event f a -> Event f bSource

partitionMaybe :: (a -> Maybe b) -> Event f a -> (Event f b, Event f a)Source

bypass :: (a -> Maybe b) -> (Event f a -> Event f c) -> (Event f b -> Event f c) -> Event f a -> Event f cSource

traverse :: s -> (a -> State s b) -> Event f a -> (Event f b, Behavior f s)Source

sequence :: s -> Event f (State s a) -> (Event f a, Behavior f s)Source

mapAdjacent :: (a -> a -> b) -> a -> Event f a -> Event f bSource