debug-scopes/named-scopes/override.rkt
Georges Dupéron 2c8423ac16 Initial commit
2016-12-14 17:44:42 +01:00

12 lines
369 B
Racket

#lang racket
(require (for-syntax "exptime.rkt"))
(provide (rename-out [-define-syntax define-syntax]))
(define-syntax (-define-syntax stx)
(syntax-case stx ()
[(_ (name arg) . body) #'(define-syntax name
(named-transformer (name arg)
. body))]
[(_ name value) #'(define-syntax name value)]))