Use library nest.

svn: r9598
This commit is contained in:
Sam Tobin-Hochstadt 2008-05-02 18:03:05 +00:00
parent 1054f9cdea
commit 97715dc9fb
2 changed files with 2 additions and 13 deletions

View File

@ -1,10 +0,0 @@
#lang scheme/base
(provide nest)
(define-syntax nest
(syntax-rules ()
[(nest () body0 body ...)
(let () body0 body ...)]
[(nest ([form forms ...] . more) body0 body ...)
(form forms ... (nest more body0 body ...))]))

View File

@ -22,7 +22,7 @@
"private/effect-rep.ss"
"private/rep-utils.ss"
"private/type-contract.ss"
"private/nest.ss"
scheme/nest
syntax/kerncase
scheme/match))
@ -81,8 +81,7 @@
(local-expand #`(#%plain-module-begin
forms ...)
'module-begin
null
#;stop-list)])]
null)])]
[with-syntax ([(pmb body2 ...) #'new-mod])]
[begin (do-time "Local Expand Done")]
[with-syntax ([after-code (parameterize ([orig-module-stx stx]