haskore-0.1.0.4: The Haskore Computer Music System

Medium.Controlled

Documentation

class C medium whereSource

Methods

control :: control -> medium control a -> medium control aSource

switchBinary :: (a -> b) -> (medium control a -> medium control a -> b) -> (medium control a -> medium control a -> b) -> (control -> medium control a -> b) -> b -> medium control a -> bSource

switchList :: (a -> b) -> ([medium control a] -> b) -> ([medium control a] -> b) -> (control -> medium control a -> b) -> medium control a -> bSource

Instances

C T 

foldList :: C medium => (a -> b) -> ([b] -> b) -> ([b] -> b) -> (c -> b -> b) -> medium c a -> bSource

foldBin :: C medium => (a -> b) -> (b -> b -> b) -> (b -> b -> b) -> (c -> b -> b) -> b -> medium c a -> bSource