chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] unbound variable: or


From: Daniel Leslie
Subject: Re: [Chicken-users] unbound variable: or
Date: Wed, 27 May 2015 13:30:23 -0700

'or' is a macro, and macros cannot be used as the first operand in apply.

-Dan

On Wed, May 27, 2015 at 1:25 PM, Jinsong Liang <address@hidden> wrote:
Hi,

In Chicken, (apply + '(1 2)) returns 3, which is expected. However, if I try:

(apply or '(#t #f))

Error: unbound variable: or

Why (apply or '(#t #f)) does not work?

Thank you!

Jinsong

_______________________________________________
Chicken-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users



reply via email to

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