Improve scrloc
This commit is contained in:
parent
4fda0d876b
commit
1cea73c992
|
@ -43,9 +43,13 @@
|
||||||
#'(define-syntax (name stx2)
|
#'(define-syntax (name stx2)
|
||||||
(syntax-case stx2 ()
|
(syntax-case stx2 ()
|
||||||
[(_ . body)
|
[(_ . body)
|
||||||
#`(wrapped-#%module-begin
|
(datum->syntax
|
||||||
. #,(fold-syntax (replace-dots #'-λ #'-define-syntax #'-mrt)
|
stx2
|
||||||
#'body))]))]))
|
`(,#'wrapped-#%module-begin
|
||||||
|
. ,(fold-syntax (replace-dots #'-λ #'-define-syntax #'-mrt)
|
||||||
|
#'body))
|
||||||
|
stx2
|
||||||
|
stx2)]))]))
|
||||||
|
|
||||||
(define-syntax (make-#%top-interaction stx)
|
(define-syntax (make-#%top-interaction stx)
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
|
@ -54,9 +58,13 @@
|
||||||
#'(define-syntax (name stx2)
|
#'(define-syntax (name stx2)
|
||||||
(syntax-case stx2 ()
|
(syntax-case stx2 ()
|
||||||
[(_ . body)
|
[(_ . body)
|
||||||
#`(wrapped-#%top-interaction
|
(datum->syntax
|
||||||
. #,(fold-syntax (replace-dots #'-λ #'-define-syntax #'-mrt)
|
stx2
|
||||||
#'body))]))]))
|
`(,#'wrapped-#%top-interaction
|
||||||
|
. ,(fold-syntax (replace-dots #'-λ #'-define-syntax #'-mrt)
|
||||||
|
#'body))
|
||||||
|
stx2
|
||||||
|
stx2)]))]))
|
||||||
|
|
||||||
(define-for-syntax (make-λ l args e percent? -λ -define-syntax -mrt)
|
(define-for-syntax (make-λ l args e percent? -λ -define-syntax -mrt)
|
||||||
(define percent*
|
(define percent*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user