Hi Jinsong,

On Wed, 27 May 2015 16:25:33 -0400 Jinsong Liang <[email protected]> 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

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to