summaryrefslogtreecommitdiff
path: root/scheme/racket/geiser/enter.rkt
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-08 01:42:04 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-08 01:42:04 +0200
commitd402ed3f41790abb9861af9dbe47166295cd66b1 (patch)
treedacf859f2cff19f9021af2a7315bbc498f2fa56b /scheme/racket/geiser/enter.rkt
parent616c53c6e12ff227e3fbff782f4d7f8be120aa5c (diff)
downloadgeiser-guile-d402ed3f41790abb9861af9dbe47166295cd66b1.tar.gz
geiser-guile-d402ed3f41790abb9861af9dbe47166295cd66b1.tar.bz2
Racket: autodoc for struct constructors
Diffstat (limited to 'scheme/racket/geiser/enter.rkt')
-rw-r--r--scheme/racket/geiser/enter.rkt18
1 files changed, 9 insertions, 9 deletions
diff --git a/scheme/racket/geiser/enter.rkt b/scheme/racket/geiser/enter.rkt
index 58be936..181c06a 100644
--- a/scheme/racket/geiser/enter.rkt
+++ b/scheme/racket/geiser/enter.rkt
@@ -16,7 +16,7 @@
(provide get-namespace enter-module module-loader module-loaded?)
-(define-struct mod (name timestamp depends))
+(struct mod (name timestamp depends))
(define loaded (make-hash))
@@ -60,14 +60,14 @@
(or (current-load-relative-directory)
(current-directory)))))])
;; Record module timestamp and dependencies:
- (let ([mod (make-mod name
- (get-timestamp path)
- (if code
- (apply append
- (map cdr
- (module-compiled-imports code)))
- null))])
- (hash-set! loaded path mod))
+ (let ([m (mod name
+ (get-timestamp path)
+ (if code
+ (apply append
+ (map cdr
+ (module-compiled-imports code)))
+ null))])
+ (hash-set! loaded path m))
;; Evaluate the module:
(eval code))
;; Not a module: