Euterpea-2.0.7: Library for computer music research and education
Safe HaskellSafe-Inferred
LanguageHaskell98

Control.SF.SF

Documentation

newtype SF a b Source #

Constructors

SF 

Fields

Instances

Instances details
ArrowCircuit SF Source # 
Instance details

Defined in Control.SF.SF

Methods

delay :: b -> SF b b #

Arrow SF Source # 
Instance details

Defined in Control.SF.SF

Methods

arr :: (b -> c) -> SF b c #

first :: SF b c -> SF (b, d) (c, d) #

second :: SF b c -> SF (d, b) (d, c) #

(***) :: SF b c -> SF b' c' -> SF (b, b') (c, c') #

(&&&) :: SF b c -> SF b c' -> SF b (c, c') #

ArrowChoice SF Source # 
Instance details

Defined in Control.SF.SF

Methods

left :: SF b c -> SF (Either b d) (Either c d) #

right :: SF b c -> SF (Either d b) (Either d c) #

(+++) :: SF b c -> SF b' c' -> SF (Either b b') (Either c c') #

(|||) :: SF b d -> SF c d -> SF (Either b c) d #

ArrowLoop SF Source # 
Instance details

Defined in Control.SF.SF

Methods

loop :: SF (b, d) (c, d) -> SF b c #

Category SF Source # 
Instance details

Defined in Control.SF.SF

Methods

id :: forall (a :: k). SF a a #

(.) :: forall (b :: k) (c :: k) (a :: k). SF b c -> SF a b -> SF a c #

run :: SF a b -> [a] -> [b] Source #

unfold :: SF () a -> [a] Source #

nth :: Int -> SF () a -> a Source #

nth' :: Int -> (b, ((), b) -> (a, b)) -> a Source #