[plt-scheme] Checking to see if some variable is an mzscheme primitive or not?

From: Daniel Pinto de Mello e Silva (daniel.silva at gmail.com)
Date: Wed Feb 23 04:13:41 EST 2005

On Fri, 18 Feb 2005 01:28:57 -0800 (PST), Danny Yoo
<dyoo at hkn.eecs.berkeley.edu> wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> On Fri, 18 Feb 2005, Danny Yoo wrote:
> > I'm trying to write a function that will help me trace down the names of
> > mzscheme primitives in a program, and I've written the following module:
> [code cut]
> > I know I shouldn't really be abusing exceptions like this, but this is
> > something I need for a silly preprocessor program.  I couldn't find
> > equivalent functionality in mzlib yet, but I'm just double checking to
> > make sure I haven't reinvented the wheel.
> Ok, I didn't look closely enough.  I just saw NAMESPACE-MAPPED-SYMBOLS,
> which should do the trick for me.  Sorry about that!

Also look up namespace-variable-value in the language manual.  That
way you avoid eval.


Posted on the users mailing list.