Module

Data.Abc.Canonical

Package
purescript-abc-parser
Repository
newlandsvalley/purescript-abc-parser

A canonical representation of an ABC tune as a string.

#fromTune Source

fromTune :: AbcTune -> String

Translate an ABC Tune parse tree to a canonical ABC String.

#fromEither Source

fromEither :: Either String AbcTune -> Either String String

Translate a parse Result containing an ABC Tune parse tree to a Result containing a canonical ABC String.

#abcNote Source

abcNote :: AbcNote -> String

Pretty-print a note.

#abcChord Source

abcChord :: AbcChord -> String

Pretty-print a chord.

#tupletSignature Source

tupletSignature :: TupletSignature -> String

Pretty-print a tuplet signature.

#keySignatureAccidental Source

keySignatureAccidental :: Accidental -> String

Module for converting an ABC Tune parse tree to a canonical ABC string