cur/cur.rkt
William J. Bowman 740aaee756
cur is now a pkg and a #lang
These features are currently undocumented.
2015-09-16 12:25:22 -04:00

31 lines
632 B
Racket

#lang racket/base
(module extra racket
(require
racket/syntax
syntax/parse
(for-template
(only-in "curnel/redex-lang.rkt"
cur-expand)))
(provide cur-match)
(define-syntax (cur-match syn)
(syntax-case syn ()
[(_ syn [pattern body] ...)
#'(syntax-parse (cur-expand syn)
[pattern body] ...)])))
(require
(rename-in "curnel/redex-lang.rkt" [provide real-provide])
(only-in racket/base eof)
(for-syntax 'extra)
'extra)
(provide
eof
(rename-out [real-provide provide])
(for-syntax (all-from-out 'extra))
(all-from-out
'extra
"curnel/redex-lang.rkt"))