guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using (defined? foo) from C.


From: Thamer Al-Harbash
Subject: Re: Using (defined? foo) from C.
Date: Sat, 29 Mar 2003 10:20:27 -0500 (EST)

On Sat, 29 Mar 2003, Marius Vollmer wrote:

> Thamer Al-Harbash <address@hidden> writes:
>
> > Is there anyway to create a symbol SCM in C without defining it
> > in the current environment?
>
> Yes.  Symbols are a data type of their own, independent of bindings,
> environments and modules.  You can use
>
>     scm_str2symbol ("foo")

Thanks, I couldn't find this in the procedure index of the manual
but it's mentioned in section 19.14 (transitioning to the scm
interface). That's exactly what I need.

-- 
Thamer Al-Harbash            http://www.whitefang.com/
        (if (> pressure too-much-pressure)
                'play-ac2 'work)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]