Safe Haskell | None |
---|---|

Language | Haskell2010 |

- data T a :: * -> *
- left :: T a -> a
- right :: T a -> a
- cons :: a -> a -> T a
- map :: (a -> b) -> T a -> T b
- arrowFromMono :: Arrow arrow => arrow a b -> arrow (T a) (T b)
- arrowFromMonoControlled :: Arrow arrow => arrow (c, a) b -> arrow (c, T a) (T b)
- arrowFromChannels :: Arrow arrow => arrow a b -> arrow a b -> arrow (T a) (T b)
- data Channel :: *
- select :: T a -> Channel -> a
- interleave :: (T a, T b) -> T (a, b)
- sequence :: Functor f => f (T a) -> T (f a)
- liftApplicative :: Applicative f => (f a -> f b) -> f (T a) -> f (T b)

# Documentation

arrowFromMono :: Arrow arrow => arrow a b -> arrow (T a) (T b) Source #

Run a causal process independently on each stereo channel.

interleave :: (T a, T b) -> T (a, b) #

liftApplicative :: Applicative f => (f a -> f b) -> f (T a) -> f (T b) #