|
|
@ -38,15 +38,8 @@
|
|
|
|
(and directory-require-files (map dynamic-rerequire directory-require-files))
|
|
|
|
(and directory-require-files (map dynamic-rerequire directory-require-files))
|
|
|
|
(void))
|
|
|
|
(void))
|
|
|
|
|
|
|
|
|
|
|
|
(require sugar/debug)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; set up namespace for module caching
|
|
|
|
;; set up namespace for module caching
|
|
|
|
(module caching-module racket/base
|
|
|
|
(define-caching-ns caching-module-ns)
|
|
|
|
(define-namespace-anchor caching-module-nsa)
|
|
|
|
|
|
|
|
(provide caching-module-nsa))
|
|
|
|
|
|
|
|
(require 'caching-module)
|
|
|
|
|
|
|
|
(define caching-module-ns (namespace-anchor->namespace caching-module-nsa))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define cached-module-names '(xml
|
|
|
|
(define cached-module-names '(xml
|
|
|
|
racket/bool
|
|
|
|
racket/bool
|
|
|
|
racket/class
|
|
|
|
racket/class
|
|
|
@ -76,7 +69,7 @@
|
|
|
|
sugar
|
|
|
|
sugar
|
|
|
|
txexpr))
|
|
|
|
txexpr))
|
|
|
|
|
|
|
|
|
|
|
|
(apply load-in-namespace caching-module-ns cached-module-names)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define (path->hash path subkey)
|
|
|
|
(define (path->hash path subkey)
|
|
|
|
(dynamic-rerequire path)
|
|
|
|
(dynamic-rerequire path)
|
|
|
|