much better way of doing this

svn: r15187
This commit is contained in:
Eli Barzilay 2009-06-16 17:04:30 +00:00
parent b9523d982c
commit c45b6583ea

View File

@ -1,8 +1 @@
(module reader syntax/module-reader (module reader syntax/module-reader #:language read)
-ignored-
#:wrapper2
(lambda (in rd stx?)
(let* ([mod* (rd in)]
[mod (if stx? (syntax->list mod*) mod*)]
[mod `(,(car mod) ,(cadr mod) ,@(cdddr mod))])
(if stx? (datum->syntax mod* mod mod*) mod))))