lilypond-1.9.0: Bindings to Lilypond

Copyright(c) Hans Hoglund 2012
LicenseBSD-style
Maintainerhans@hanshoglund.se
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Music.Lilypond.Value

Description

 

Synopsis

Documentation

data Value Source

  Value of a \set command. These are simply wrappers for showable things.

For example use (with OverloadedStrings)

Set "Staff.instrumentName" "Violin I"
Set "Staff.instrumentName" 2

to generate

\set Staff.instrumentName = "Violin I"
\set Staff.instrumentName = 2

toValue :: Show a => a -> Value Source

toLiteralValue :: String -> Value Source

As toValue, but not quoting strings. Handy for scheme literals such as #red.