compatibility/collects/mzlib/shared.rkt
Matthew Flatt 8e79dbf235 syntax-taint repairs
for problems exposed by more agressive arming of `lambda'
and `#%app'

original commit: 001cb75bac6166541c2fc6803b4e1061743cbce3
2011-08-09 16:33:17 -06:00

23 lines
578 B
Racket

#lang scheme/base
(require (for-syntax scheme/base
syntax/stx
syntax/kerncase
syntax/struct
racket/struct-info
scheme/include))
(provide shared)
(define-for-syntax code-insp (current-code-inspector))
(define undefined (letrec ([x x]) x))
(require (only-in scheme/base [cons the-cons]))
(define-syntax shared
(lambda (stx)
(define make-check-cdr #f)
;; Include the implementation.
;; See private/shared-body.rkt.
(include "private/shared-body.rkt")))