This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]