[gambit-list] Determine if symbol is bound

William James w_a_x_man at yahoo.com
Mon May 9 22:06:48 EDT 2011

--- On Mon, 5/9/11, Mikael <mikael.rcv at gmail.com> wrote:

From: Mikael <mikael.rcv at gmail.com>
Subject: Re: [gambit-list] Determine if symbol is bound
To: "William James" <w_a_x_man at yahoo.com>, gambit-list at iro.umontreal.ca
Date: Monday, May 9, 2011, 9:42 AM

>I advise you to go back to your intent that leads you to want to do >this, and revise what you do to fulfill it.
>Probably you can achieve what you thought you'd do this way, some other >way that's much better. (Better in the sense that you don't need to make >scope, module or Scheme system-specific hacks to make it go around.) Not >keeping state in globals for instance, can be part of the solution.

I want to approximate what = does in Arc.
"with" is similar to "let" in Scheme.

arc> (with (b 2) (= a 'aaa b 'bbb))
arc> a
arc> b
Error: "reference to undefined identifier: _b"

More information about the Gambit-list mailing list