Urs Liska <u...@openlilylib.org> writes: > Hi all, > > I understand what this error message means: > > |guile> (1 2 3) standard input:98:1: In expression (1 2 3): standard > input:98:1: Wrong type to apply: 1 ABORT: (misc-error) | > > But I'm at a loss with that: > > |guile> (1 . 2) standard input:82:1: In expression (1 . 2): standard > input:82:1: Wrong number of arguments to 1 ABORT: (wrong-number-of-args) | > > > || > Please, I don't want to know how to do it correctly (which I do) but > what Scheme "thinks" in the second case: What kind of "1" is it that > expects a "number of arguments"?
"Wrong number of arguments" is apparently Guile's phrasing for "bad argument list". Guile apparently never gets as far as checking whether 1 is callable. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user