compatibility/collects/mzlib/shared.ss
Matthew Flatt cc5373a844 shared
svn: r8069

original commit: f70ea2d03aea2e5c74536d1f64d1df023090432a
2007-12-19 21:32:07 +00:00

20 lines
480 B
Scheme

#lang scheme/base
(require (for-syntax scheme/base
syntax/stx
syntax/kerncase
syntax/struct
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.ss.
(include "private/shared-body.ss")))