mit-scheme-devel
[Top][All Lists]
Advanced

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

Re: [MIT-Scheme-devel] tied in knots with environments


From: David Gray
Subject: Re: [MIT-Scheme-devel] tied in knots with environments
Date: Mon, 31 Jan 2011 10:51:11 +0200

The pain is self induced but I can't see anyway round it. I generate x from some earlier calculations.
So the simplest thing is:
(define x '(1 2 3 4 5))

(ge 'win32)

(define (myadd x)
(apply + x))

(ge user-initial-environment)

but now 
(eval '(myadd x)
  (->environment '(win32))) 
won't work, hence all the hoops I jumped through to create a string that eval can use.

Dave

reply via email to

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