guile-user
[Top][All Lists]
Advanced

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

Re: defined?


From: Matt Hellige
Subject: Re: defined?
Date: Sun, 12 Jan 2003 18:03:10 -0600
User-agent: Mutt/1.2.5i

[Egil Moeller <address@hidden>]
> 
> How does one extract the value of a binding, whose symbol is in a
> variable one has access to? Guile 1.6 says symbol-binding is deprecated...

I'm not sure if there's a better way, but this works for me:

 guile> (define a 5)
 guile> (define b 'a)
 guile> (eval b (interaction-environment))
 5
 guile>

Matt

-- 
Matt Hellige                  address@hidden
http://matt.immute.net




reply via email to

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