[racket-dev] #:namespace
40 minutes ago, Jay McCarthy wrote:
>
> [...] I removed the namespace argument and the request handler
> closure is simply evaluated in the namespace it came from.
The relevant piece of code:
#lang racket/base
(require ... handin-server/private/logger ...)
(provide run)
(define (run)
...
(run-servlet
dispatcher
#:namespace '(... handin-server/private/logger ...)
#:log-file (get-conf 'web-log-file))
...)
does the above mean that the logger will be shared because there is no
new instantiation of this code?
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!