music-score-1.6.2: Musical score and part representation.

Portabilitynon-portable (TF,GNTD)
Stabilityexperimental
Maintainerhans@hanshoglund.se
Safe HaskellNone

Music.Time.Delayable

Contents

Description

Provides delayable values.

Synopsis

Delayable class

undelay :: Delayable a => Duration -> a -> aSource

delaying :: (Delayable a, Delayable b) => Duration -> (a -> b) -> a -> bSource

Apply a function under delay. See also sunder.

move :: Delayable a => Duration -> a -> aSource

Move a score forward in time. Equivalent to delay.

moveBack :: Delayable a => Duration -> a -> aSource

Move a score backward in time. Negated verison of delay.

Utility

delayTime :: Delayable a => Time -> a -> aSource

Delay relative to origin. Provided for situations when you have a value that should forward based on the distance between some time t and the origin, but it does not necessarily have a start time.

newtype NoDelay a Source

Constructors

NoDelay 

Fields

getNoDelay :: a