racket/collects/racket/shared.rkt
Asumu Takikawa 403aaac7d4 Moved some mzlib library implementations to racket
The libraries moved were:
  - mzlib/control      => racket/control
  - mzlib/date         => racket/date
  - mzlib/deflate      => file/gzip
  - mzlib/inflate      => file/gunzip
  - mzlib/port         => racket/port
  - mzlib/process      => racket/system
  - mzlib/runtime-path => racket/runtime-path
  - mzlib/shared       => racket/shared
  - mzlib/unit         => racket/unit
  - mzlib/unit-exptime => racket/unit-exptime
  - mzlib/zip          => file/zip

The old modules in mzlib are now pointers to the
new modules. These are all modules that were already
redirected in the documentation.
2012-07-11 18:26:10 -04:00

22 lines
624 B
Racket

#lang racket/base
(require (for-syntax racket/base
syntax/kerncase
syntax/struct
racket/struct-info
racket/include))
(provide shared)
(define-for-syntax code-insp (variable-reference->module-declaration-inspector
(#%variable-reference)))
(define undefined (letrec ([x x]) x))
(require (only-in racket/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")))