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: Mario Domenech Goulart
Subject: Re: [Chicken-users] unbound variable: or
Date: Wed, 27 May 2015 20:34:12 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hi Jinsong,

On Wed, 27 May 2015 16:25:33 -0400 Jinsong Liang <address@hidden> wrote:

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

Welcome!

`or' (*) is not a procedure, so you can't use it as argument to other
procedures (like `apply').

(*) http://api.call-cc.org/doc/scheme/or

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

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