[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
- error handling,
Thomas Morley <=
- Re: error handling, Jean Abou Samra, 2022/07/04
- Re: error handling, Thomas Morley, 2022/07/04
- Re: error handling, Jean Abou Samra, 2022/07/04
- Re: error handling, Jean Abou Samra, 2022/07/06
- Re: error handling, Thomas Morley, 2022/07/17
- Re: error handling, Jean Abou Samra, 2022/07/18
- Re: error handling, Thomas Morley, 2022/07/18