[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
- [Chicken-users] unbound variable: or, Jinsong Liang, 2015/05/27
- Re: [Chicken-users] unbound variable: or,
Mario Domenech Goulart <=
- Re: [Chicken-users] unbound variable: or, Peter Bex, 2015/05/27
- Re: [Chicken-users] unbound variable: or, Jinsong Liang, 2015/05/27
- Re: [Chicken-users] unbound variable: or, John Cowan, 2015/05/27
- Re: [Chicken-users] unbound variable: or, Jinsong Liang, 2015/05/27
- Re: [Chicken-users] unbound variable: or, Michele La Monaca, 2015/05/28
- Re: [Chicken-users] unbound variable: or, Jinsong Liang, 2015/05/28
- Re: [Chicken-users] unbound variable: or, Michele La Monaca, 2015/05/29
- Re: [Chicken-users] unbound variable: or, Jinsong Liang, 2015/05/29