This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
extend-top-level-environment
- From: Chris Dean <Chris dot Dean at sokitomi dot com>
- To: Kawa List <kawa at sources dot redhat dot com>
- Date: Sat, 01 Nov 2003 20:29:21 -0800
- Subject: extend-top-level-environment
I need a way to create multiple environments so that I can eval
expressions in different and separate environments. How about:
(define (extend-top-level-environment (env :: <gnu.mapping.Environment>))
(make <gnu.mapping.Environment> env))
(define (make-root-top-level-environment)
(extend-top-level-environment (scheme-report-environment 5)))
Would this code function properly in Kawa?
Regards,
Chris Dean