Re: [Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Alexej Magura
Thanks, Kon. On 12/19/2014 11:45 PM, Kon Lovett wrote: On Dec 19, 2014, at 10:38 PM, Alexej Magura > wrote: In Common Lisp, clisp specifically, you can test whether a symbol has been bound, that is interned, or not using boundp; is there a way to do this in Chicken

Re: [Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Daniel Leslie
Relatedly, is there a tool that can describe *where* a symbol was bound? -Dan On Fri, Dec 19, 2014 at 10:45 PM, Kon Lovett wrote: > > On Dec 19, 2014, at 10:38 PM, Alexej Magura wrote: > > In Common Lisp, clisp specifically, you can test whether a symbol has > been bound, that is interned, or

Re: [Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Kon Lovett
> On Dec 19, 2014, at 10:38 PM, Alexej Magura wrote: > > In Common Lisp, clisp specifically, you can test whether a symbol has been > bound, that is interned, or not using boundp; is there a way to do this in > Chicken? > > (boundp 'a) ; nil > (defvar a 1) > (boundp 'a) ; t > > I wrote up a

Re: [Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Daniel Leslie
You could use the apropos egg to accomplish this. -Dan On Fri, Dec 19, 2014 at 10:38 PM, Alexej Magura wrote: > In Common Lisp, clisp specifically, you can test whether a symbol has > been bound, that is interned, or not using boundp; is there a way to do > this in Chicken? > > (boundp 'a) ; n

[Chicken-users] testing if a symbol has been interned

2014-12-19 Thread Alexej Magura
In Common Lisp, clisp specifically, you can test whether a symbol has been bound, that is interned, or not using boundp; is there a way to do this in Chicken? (boundp 'a) ; nil (defvar a 1) (boundp 'a) ; t I wrote up a function once a while back that used exception handling to check if a symb