This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug returning lambda(x.y)


>>> Per Bothner <per@bothner.com> 02/03/00 18:56:30 >>>
>The problem is that there is no space between the `.' and the `y'
>in the lambda header, so Kawa thinks you are declaring an identifier
`.y'.
>That makes plain `y' an unbound identifier.

Sorry - should have been:

   lambda (x . y)


Hope you can help.


>Finally, note that `(not y)' will never be true.  This is because
`y'
>is a list, and a list can never be false.  Remember that in Scheme
>(unlike Common Lisp and Emacs Lisp), the empty list is considered
>true.

Yup. It was just illustrative.


Nic

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]