lilypond-user
[Top][All Lists]
Advanced

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

Scheme error message


From: Urs Liska
Subject: Scheme error message
Date: Thu, 21 Apr 2016 21:14:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

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"?

Any clarification appreciated
Urs

reply via email to

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