Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
- type family DurOf a :: *
- class Duration a where
- class Melody a where
- class Harmony a where
- class (Melody a, Harmony a) => Compose a
- loopBy :: Melody a => Int -> a -> a
- melMap :: Melody b => (a -> b) -> [a] -> b
- harMap :: Harmony b => (a -> b) -> [a] -> b
- class Delay a where
- (+|) :: Delay a => DurOf a -> a -> a
- class Rest a where
- class Stretch a where
- (*|) :: Stretch a => DurOf a -> a -> a
- class Limit a where
- class Loop a where
- loop :: a -> a
Documentation
Nothing
Sequent composition for a list of values (melody).
Sequent composition. Play first track then second.
Nothing
Parallel composition for a list of values (harmony).
Parallel composition. Play two tracks simultaneously.