add "cache-ns.rkt" as helper (closes #82)
parent
a6e2f82d21
commit
a854844ae6
@ -0,0 +1,8 @@
|
|||||||
|
#lang racket/base
|
||||||
|
(provide (all-defined-out))
|
||||||
|
|
||||||
|
(define (load-in-namespace to-ns . module-names)
|
||||||
|
(for-each (λ(mn) (eval `(require ,mn) to-ns)) module-names))
|
||||||
|
|
||||||
|
(define (copy-from-namespace from-ns to-ns . module-names)
|
||||||
|
(for-each (λ(mn) (namespace-attach-module from-ns mn to-ns)) module-names))
|
Loading…
Reference in New Issue