guile-user
[Top][All Lists]
Advanced

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

Re: guile for lisp set


From: Marius Vollmer
Subject: Re: guile for lisp set
Date: 19 Nov 2000 14:35:19 +0100
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Alex Shinn <address@hidden> writes:

> I'm fairly new guile/scheme, and was wondering if I'm missing a simple
> way to implement the Lisp set function in guile.

The clostest thing right now would be

    (module-define! (current-module) sym val)    and/or
    (module-set! (current-module) sym val)

> eval.c gives scm_eval taking two arguments, an expression and an
> environment, and scm_eval2 taking an object and an env_thunk.  Could
> someone clarify the distinction between these types, or point me to
> the proper place to find out?

I think it is best to ignore `eval2' if you can; `eval' should be
enough.  You are in the midst of the slowly changing module system of
Guile.



reply via email to

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