Knute Snortum <ksnor...@gmail.com> writes:

> While going through Jean's Extending LilyPond tutorial...
>
> https://extending-lilypond.gitlab.io/en/scheme/expressions.html
>
> ...I came upon instructions to type this expression into the scheme-sandbox:
>
> (skip-of-length #{ { c'8 d' e' f' e' d' } #})
>
> However, it produced this error:
>
> $1 = #<Prob: Music C++: Music((elements #<Prob: Music C++: Music((duration
> . #<Duration 1*3/4 >))((display-methods #<procedure method (rest)>) (name .
> SkipEvent) (iterator-ctor . #<procedure
> ly:rhythmic-music-iterator::constructor ()>) (types event rhythmic-event
> skip-event)) >
> ))((display-methods #<procedure new-method (expr)> #<procedure new-method
> (expr)> #<procedure new-method (expr)> #<procedure new-method (expr)>
> #<procedure new-method (expr)> #<procedure method (chord)>) (name .
> EventChord) (iterator-ctor . #<procedure
> ly:event-chord-iterator::constructor ()>) (length-callback . #<procedure
> ly:music-sequence::event-chord-length-callback (_)>) (to-relative-callback
> . #<procedure ly:music-sequence::event-chord-relative-callback (_ _)>)
> (types event-chord simultaneous-music)) >
>
> Is this a bug or something I have done?
It is not an error but the standard print-form of the resulting Music
expression.  You might want to call displayMusic on it for a better
looking result.

-- 
David Kastrup

Reply via email to