alga-0.2.1: Algorithmic automation for various DAWs

Safe HaskellSafe
LanguageHaskell2010

Alga.Language.Element

Synopsis

Documentation

type Principle = [Element NRatio] Source

Collection of elements for evaluation, representation of some aspect of voice.

type NRatio = Ratio Natural Source

Non-negative rational number is the best choice for our purposes, hence the synonym.

data Element a Source

Fundamental type representing an atom for evaluation.

Constructors

Val a

Single value, evaluates to itself

Sec [Element a]

Universal container for other values

Mul [Element a]

Multivalue, the way to introduce varying elements

CMul [([Element a], [Element a])]

Conditional multivalue