reactive-balsa-0.1: Programmatically edit MIDI events via ALSA and reactive-banana

Reactive.Banana.ALSA.Utility

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