phc-graph/literals.rkt
2017-04-27 02:02:56 +02:00

12 lines
300 B
Racket

#lang racket
(define-syntax-rule (provide-literals name ...)
(begin
(provide name ...)
(define-syntax (name stx)
(raise-syntax-error 'name
"can only be used in some special contexts"
stx))
...))
(provide-literals mapping node)