music-pitch-literal-1.9.0: Overloaded pitch literals.

Copyright(c) Hans Hoglund 2012
LicenseBSD-style
Maintainerhans@hanshoglund.se
Stabilityexperimental
Portabilitynon-portable (TF,GNTD)
Safe HaskellNone
LanguageHaskell2010

Music.Pitch.Augmentable

Contents

Description

 

Synopsis

Augmentable class

class Augmentable a where Source

Class of types that can be augmented.

quality (augment a)  = augment (quality a)
quality (diminish a) = diminish (quality a)
augment . diminish   = id

Methods

augment :: a -> a Source

Increase the size of this interval by one.

diminish :: a -> a Source

Decrease the size of this interval by one.

augmentN :: Augmentable a => Int -> a -> a Source