Where is the implementation for symbol?

May 21, 2011 at 3:54 AM

I want to check the implementation of symbol? (used in (symbol 'abc)), where can I find it in this project? Thanks in advance.

Coordinator
Jun 1, 2011 at 12:20 PM

Hi

I am not sure what you mean.

Can you please clarify.

Thanks

leppie

Jun 2, 2011 at 3:39 AM

Thanks for your reply, leppie.

I want to take a look at the implement of symbol?, it maybe a special form, such as used in (symbol? 'abc).  Is it implemented in C# or scheme? Or in other words, I want to find the definition of `symbol?`.

Coordinator
Jun 3, 2011 at 9:34 AM

Hi

You can find it here: https://ironscheme.svn.codeplex.com/svn/IronScheme/IronScheme.Console/build/predicates.ss

It simply checks if the value is an instance (all symbols are boxed) of SymbolId.

Cheers

leppie