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

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

Music.Time.Performable

Description

 

Synopsis

Documentation

class Foldable s => Performable s whereSource

Performable values.

Minimal complete definition: perform.

Methods

perform :: (t ~ Time s, d ~ Duration s) => s a -> [(t, d, a)]Source

Perform a score.

This is the inverse of compose

toList' :: s a -> [a]Source

Perform a score, yielding an ordered list of values.

Equivalent to toList, but may be more efficient.

foldMapDefault :: (Performable s, Monoid m) => (a -> m) -> s a -> mSource

This function may be used as a value for foldMap in a Foldable instance.