Euterpea-2.0.1: Library for computer music research and education

Safe HaskellSafe
LanguageHaskell98

Control.SF.SF

Documentation

newtype SF a b Source #

Constructors

SF 

Fields

Instances

ArrowChoice SF Source # 

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 #

ArrowCircuit SF Source # 

Methods

delay :: b -> SF b b #

Arrow SF Source # 

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') #

ArrowLoop SF Source # 

Methods

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

Category * SF Source # 

Methods

id :: cat a a #

(.) :: cat b c -> cat a b -> cat 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 #