lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error handling


From: Thomas Morley
Subject: error handling
Date: Tue, 5 Jul 2022 00:22:48 +0200

Currently I'm doing some huge scheme-coding.

Again and again I get error messages like:

$ lilydevel event-chords.ly
GNU LilyPond 2.23.9 (running Guile 2.2)
[...]
Processing `event-chords.ly'
Parsing...srfi/srfi-1.scm:432:2: In procedure last:
In procedure car: Wrong type argument in position 1 (expecting pair): ()

This is a SHITTY message!
For now I switch back to a guile-1 version where I get:

$ lilypond event-chords.ly
GNU LilyPond 2.22.1
Processing `event-chords.ly'
Parsing...../zither-tab-functions.ly:129:29: In procedure last in
expression (map last v-r-m-elts-raw):
../zither-tab-functions.ly:129:29: Wrong type argument in position 1
(expecting pair): ()

That's an error message, helpful and pointing to the problem.

Alas, it's easy to predict I'll use features not available in older versions.
What to do then?

Looking through srfi/srfi-1.scm? Ok, bullshit. (statement just for fun LOL)
Looking through hundreds of code lines?
Really? Even using advanced searching features ...
Really?

Any hope it will improve?

-Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]