stlc cleanup

This commit is contained in:
Stephen Chang 2014-08-13 14:30:13 -04:00
parent dff0f2b79f
commit 10674298c4

View File

@ -384,8 +384,8 @@
#:with (e ...) (template ((?@ . mb-form.e) ...))
#:when (Γ (type-env-extend #'([f τ] ...)))
; #:when (printf "fvs :~a\n" (fvs))
;; error: "Just10: unbound identifier; also, no #%top syntax transformer is bound"
;; cause: for struct def, define-values must come before define-syntaxes
;; NOTE: for struct def, define-values *must* come before define-syntaxes
;; ow, error: "Just10: unbound identifier; also, no #%top syntax transformer is bound"
(quasisyntax/loc stx
(#%module-begin
#,(expand/df #'(let-values ([def-val-lhs def-val-rhs] ...)