racket/collects/mzlib/shared.rkt
2011-07-02 10:37:53 -04:00

21 lines
522 B
Racket

#lang scheme/base
(require (for-syntax scheme/base
syntax/stx
syntax/kerncase
syntax/struct
racket/struct-info
scheme/include))
(provide shared)
(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")))