Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- data T = Cons Mode Accidentals
- newtype Accidentals = Accidentals Int
- data Mode
- keyName :: Mode -> Accidentals -> String
- cfMajor :: T
- gfMajor :: T
- dfMajor :: T
- afMajor :: T
- efMajor :: T
- bfMajor :: T
- fMajor :: T
- cMajor :: T
- gMajor :: T
- dMajor :: T
- aMajor :: T
- eMajor :: T
- bMajor :: T
- fsMajor :: T
- csMajor :: T
- afMinor :: T
- efMinor :: T
- bfMinor :: T
- fMinor :: T
- cMinor :: T
- gMinor :: T
- dMinor :: T
- aMinor :: T
- eMinor :: T
- bMinor :: T
- fsMinor :: T
- csMinor :: T
- gsMinor :: T
- dsMinor :: T
- asMinor :: T
- get :: C parser => Fragile parser T
- toBytes :: T -> [Int]
Documentation
newtype Accidentals Source
Accidentals as used in key signature.
The Key Signature specifies a mode, either major or minor.
keyName :: Mode -> Accidentals -> String Source