On 1/26/07, Daishi Kato <[EMAIL PROTECTED]> wrote:
Hi
Out of curiosity,
What's the use of (make-environment #f) ?
Well, to create an empty, non-extendable environment! ;-)
Seriously, not overly useful - but who knows. R5RS has a
"null-environment", too. Note that evaluating these environments
still can make use of syntax, so you can create some sort of
controled evaluation context:
(eval '(lambda (+ - * / ...) ...) <empty-environment>)
=> a function with a fixed set of bindings
I haven't seen many real-world uses of this, though.
cheers,
felix
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users