[racket-dev] #:namespace

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Oct 4 10:17:06 EDT 2010

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!


Posted on the dev mailing list.