I just pushed a commit that fixes this, as well as a test case based
on your example. Sorry for the problem.
Jay
On Tue, Oct 4, 2016 at 6:16 PM, Philip McGrath wrote:
> In #lang web-server, set! seems to behave differently with local vs.
> top-level variables. For
In #lang web-server, set! seems to behave differently with local vs.
top-level variables. For example:
> #lang web-server/base
(define x 0)
> (displayln x) ;; displays 0
> (set! x (add1 x))
> (displayln x) ;; displays 1
> (let ()
> (define y 0)
> (displayln y) ;; displays 0
> (set! y (add1
2 matches
Mail list logo