[Top][All Lists]

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

Re: environments

From: Marius Vollmer
Subject: Re: environments
Date: Wed, 24 Mar 2004 01:26:32 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Ian Zimmerman <address@hidden> writes:

> guile> (use-modules (ice-9 r5rs))
> guile> (define e (null-environment 5))
> guile> (environment? e)
> #f
> guile> 
> Comments?

There are two kinds of environments in Guile.  No no, three, there are
three types of environment in Guile.  The one that is tested for by
'environment?' is not used.  It should probably be removed or

(There was a plan to use the unused kind of environments as the
underlying data type for implementing the module system.  The other
two kinds of environments are the data structures used to implement
the 'lexical' environment in the interpreter (very low level) and the
modules, which might also be called top-level environments.)

GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405

reply via email to

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