Some random ".ss" -> ".rkt"s
original commit: 939af28a4c94c283f46eb121574e4131f12cba53
This commit is contained in:
parent
d1e2ad29b7
commit
bc4b4c6168
|
@ -1,11 +1,11 @@
|
||||||
(module a-signature mzscheme
|
(module a-signature mzscheme
|
||||||
(require-for-syntax "private/unit-compiletime.ss"
|
(require-for-syntax "private/unit-compiletime.rkt"
|
||||||
"private/unit-syntax.ss")
|
"private/unit-syntax.rkt")
|
||||||
(require "unit.ss")
|
(require "unit.rkt")
|
||||||
|
|
||||||
(provide (rename module-begin #%module-begin)
|
(provide (rename module-begin #%module-begin)
|
||||||
(all-from-except mzscheme #%module-begin)
|
(all-from-except mzscheme #%module-begin)
|
||||||
(all-from "unit.ss"))
|
(all-from "unit.rkt"))
|
||||||
|
|
||||||
(define-for-syntax (make-name s)
|
(define-for-syntax (make-name s)
|
||||||
(string->symbol
|
(string->symbol
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
(module a-unit mzscheme
|
(module a-unit mzscheme
|
||||||
(require "unit.ss")
|
(require "unit.rkt")
|
||||||
(require-for-syntax syntax/kerncase)
|
(require-for-syntax syntax/kerncase)
|
||||||
|
|
||||||
(provide (rename module-begin #%module-begin)
|
(provide (rename module-begin #%module-begin)
|
||||||
(all-from-except mzscheme #%module-begin)
|
(all-from-except mzscheme #%module-begin)
|
||||||
(all-from "unit.ss"))
|
(all-from "unit.rkt"))
|
||||||
|
|
||||||
(define-for-syntax (make-name s)
|
(define-for-syntax (make-name s)
|
||||||
(string->symbol
|
(string->symbol
|
||||||
|
|
|
@ -5,23 +5,23 @@
|
||||||
;; provide arrow contracts from our local copy
|
;; provide arrow contracts from our local copy
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(require "private/contract-arrow.ss")
|
(require "private/contract-arrow.rkt")
|
||||||
(provide (all-from-out "private/contract-arrow.ss"))
|
(provide (all-from-out "private/contract-arrow.rkt"))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;
|
;;
|
||||||
;; provide contracts for objects
|
;; provide contracts for objects
|
||||||
;;
|
;;
|
||||||
(require "private/contract-object.ss")
|
(require "private/contract-object.rkt")
|
||||||
(provide (all-from-out "private/contract-object.ss"))
|
(provide (all-from-out "private/contract-object.rkt"))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;
|
;;
|
||||||
;; old-style define/contract
|
;; old-style define/contract
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(require "private/contract-define.ss")
|
(require "private/contract-define.rkt")
|
||||||
(provide (all-from-out "private/contract-define.ss"))
|
(provide (all-from-out "private/contract-define.rkt"))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;
|
;;
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
racket/contract/private/basic-opters)
|
racket/contract/private/basic-opters)
|
||||||
|
|
||||||
(provide
|
(provide
|
||||||
opt/c define-opt/c ;(all-from "private/contract-opt.ss")
|
opt/c define-opt/c ;(all-from "private/contract-opt.rkt")
|
||||||
(except-out (all-from-out racket/contract/private/ds)
|
(except-out (all-from-out racket/contract/private/ds)
|
||||||
lazy-depth-to-look)
|
lazy-depth-to-look)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
(module date mzscheme
|
(module date mzscheme
|
||||||
|
|
||||||
(require "list.ss")
|
(require "list.rkt")
|
||||||
|
|
||||||
(provide date->string
|
(provide date->string
|
||||||
date-display-format
|
date-display-format
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
(provide deflate gzip-through-ports gzip)
|
(provide deflate gzip-through-ports gzip)
|
||||||
|
|
||||||
(require "unit200.ss")
|
(require "unit200.rkt")
|
||||||
|
|
||||||
(define (vector-ref* v i)
|
(define (vector-ref* v i)
|
||||||
(let ([r (vector-ref v i)])
|
(let ([r (vector-ref v i)])
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
(module defmacro mzscheme
|
(module defmacro mzscheme
|
||||||
(require-for-syntax syntax/stx
|
(require-for-syntax syntax/stx
|
||||||
"private/dmhelp.ss")
|
"private/dmhelp.rkt")
|
||||||
|
|
||||||
(provide define-macro
|
(provide define-macro
|
||||||
defmacro)
|
defmacro)
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
build-vector
|
build-vector
|
||||||
compose)
|
compose)
|
||||||
(rename scheme/base base-else else)
|
(rename scheme/base base-else else)
|
||||||
"kw.ss")
|
"kw.rkt")
|
||||||
|
|
||||||
(require-for-syntax syntax/kerncase
|
(require-for-syntax syntax/kerncase
|
||||||
syntax/stx
|
syntax/stx
|
||||||
syntax/name
|
syntax/name
|
||||||
setup/main-collects
|
setup/main-collects
|
||||||
"private/stxset.ss")
|
"private/stxset.rkt")
|
||||||
|
|
||||||
(provide boolean=? symbol=?
|
(provide boolean=? symbol=?
|
||||||
identity
|
identity
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
(module include mzscheme
|
(module include mzscheme
|
||||||
(require-for-syntax syntax/stx
|
(require-for-syntax syntax/stx
|
||||||
"private/increader.ss"
|
"private/increader.rkt"
|
||||||
"cm-accomplice.ss")
|
"cm-accomplice.rkt")
|
||||||
(require mzlib/etc)
|
(require mzlib/etc)
|
||||||
|
|
||||||
(define-for-syntax (resolve-path-spec fn loc stx build-path-stx)
|
(define-for-syntax (resolve-path-spec fn loc stx build-path-stx)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
(require (for-syntax racket/base)
|
(require (for-syntax racket/base)
|
||||||
racket/contract/base
|
racket/contract/base
|
||||||
mzlib/list
|
mzlib/list
|
||||||
"private/port.ss")
|
"private/port.rkt")
|
||||||
|
|
||||||
(define (input-port-with-progress-evts? ip)
|
(define (input-port-with-progress-evts? ip)
|
||||||
(and (input-port? ip)
|
(and (input-port? ip)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
(require (for-syntax scheme/base))
|
(require (for-syntax scheme/base))
|
||||||
(require (for-template scheme/base)
|
(require (for-template scheme/base)
|
||||||
(for-template racket/contract/private/guts)
|
(for-template racket/contract/private/guts)
|
||||||
(for-template "contract-arr-checks.ss"))
|
(for-template "contract-arr-checks.rkt"))
|
||||||
|
|
||||||
(provide make-/proc ->/h ->*/h ->d/h ->d*/h ->r/h
|
(provide make-/proc ->/h ->*/h ->d/h ->d*/h ->r/h
|
||||||
->pp/h ->pp-rest/h
|
->pp/h ->pp-rest/h
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
(require racket/contract/private/guts
|
(require racket/contract/private/guts
|
||||||
racket/contract/private/opt
|
racket/contract/private/opt
|
||||||
"contract-arr-checks.ss")
|
"contract-arr-checks.rkt")
|
||||||
(require (for-syntax racket/base)
|
(require (for-syntax racket/base)
|
||||||
(for-syntax racket/contract/private/opt-guts)
|
(for-syntax racket/contract/private/opt-guts)
|
||||||
(for-syntax racket/contract/private/helpers)
|
(for-syntax racket/contract/private/helpers)
|
||||||
(for-syntax "contract-arr-obj-helpers.ss")
|
(for-syntax "contract-arr-obj-helpers.rkt")
|
||||||
(for-syntax syntax/stx)
|
(for-syntax syntax/stx)
|
||||||
(for-syntax syntax/name))
|
(for-syntax syntax/name))
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
#lang racket/base
|
#lang racket/base
|
||||||
(require "contract-arrow.ss"
|
(require "contract-arrow.rkt"
|
||||||
racket/contract/private/guts
|
racket/contract/private/guts
|
||||||
racket/private/class-internal
|
racket/private/class-internal
|
||||||
"contract-arr-checks.ss")
|
"contract-arr-checks.rkt")
|
||||||
|
|
||||||
(require (for-syntax racket/base
|
(require (for-syntax racket/base
|
||||||
racket/contract/private/helpers
|
racket/contract/private/helpers
|
||||||
"contract-arr-obj-helpers.ss"))
|
"contract-arr-obj-helpers.rkt"))
|
||||||
|
|
||||||
(provide mixin-contract
|
(provide mixin-contract
|
||||||
make-mixin-contract
|
make-mixin-contract
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
(define (obj->pp-rest/proc stx) (make-/proc #t ->pp-rest/h stx))
|
(define (obj->pp-rest/proc stx) (make-/proc #t ->pp-rest/h stx))
|
||||||
(define (obj-case->/proc stx) (make-case->/proc #t stx stx select/h))
|
(define (obj-case->/proc stx) (make-case->/proc #t stx stx select/h))
|
||||||
|
|
||||||
;; WARNING: select/h is copied from contract-arrow.ss. I'm not sure how
|
;; WARNING: select/h is copied from contract-arrow.rkt. I'm not sure how
|
||||||
;; I can avoid this duplication -robby
|
;; I can avoid this duplication -robby
|
||||||
(define (select/h stx err-name ctxt-stx)
|
(define (select/h stx err-name ctxt-stx)
|
||||||
(syntax-case stx (-> ->* ->d ->d* ->r ->pp ->pp-rest)
|
(syntax-case stx (-> ->* ->d ->d* ->r ->pp ->pp-rest)
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
|
|
||||||
(module sigutil mzscheme
|
(module sigutil mzscheme
|
||||||
;; Used by unitsig.ss
|
;; Used by unitsig.rkt
|
||||||
;; (needs an overhaul, too)
|
;; (needs an overhaul, too)
|
||||||
|
|
||||||
(require syntax/stx
|
(require syntax/stx
|
||||||
syntax/struct
|
syntax/struct
|
||||||
syntax/context)
|
syntax/context)
|
||||||
|
|
||||||
(require "sigmatch.ss")
|
(require "sigmatch.rkt")
|
||||||
(require "../unit200.ss")
|
(require "../unit200.rkt")
|
||||||
(require "../list.ss")
|
(require "../list.rkt")
|
||||||
|
|
||||||
(define-struct signature (name ; sym
|
(define-struct signature (name ; sym
|
||||||
src ; sym
|
src ; sym
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
(provide finish-syntax-set)
|
(provide finish-syntax-set)
|
||||||
|
|
||||||
;; Used in the expansion of `define-syntax-set' from "etc.ss"
|
;; Used in the expansion of `define-syntax-set' from "etc.rkt"
|
||||||
(define-syntax (finish-syntax-set stx)
|
(define-syntax (finish-syntax-set stx)
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
[(_ stx)
|
[(_ stx)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
setup/dirs
|
setup/dirs
|
||||||
scheme/list
|
scheme/list
|
||||||
scheme/string
|
scheme/string
|
||||||
(only-in "private/runtime-path-table.ss" table)
|
(only-in "private/runtime-path-table.rkt" table)
|
||||||
(for-syntax scheme/base))
|
(for-syntax scheme/base))
|
||||||
|
|
||||||
(provide define-runtime-path
|
(provide define-runtime-path
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
define-struct/properties
|
define-struct/properties
|
||||||
make-->vector)
|
make-->vector)
|
||||||
(require-for-syntax syntax/struct
|
(require-for-syntax syntax/struct
|
||||||
"list.ss"
|
"list.rkt"
|
||||||
syntax/stx)
|
syntax/stx)
|
||||||
|
|
||||||
;; ------------------------------------------------------------
|
;; ------------------------------------------------------------
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
(module thread mzscheme
|
(module thread mzscheme
|
||||||
(require "kw.ss" "contract.ss")
|
(require "kw.rkt" "contract.rkt")
|
||||||
|
|
||||||
(provide run-server
|
(provide run-server
|
||||||
consumer-thread)
|
consumer-thread)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#lang scheme/base
|
#lang scheme/base
|
||||||
|
|
||||||
(require "private/unit-syntax.ss"
|
(require "private/unit-syntax.rkt"
|
||||||
"private/unit-compiletime.ss")
|
"private/unit-compiletime.rkt")
|
||||||
|
|
||||||
(provide unit-static-signatures
|
(provide unit-static-signatures
|
||||||
signature-members)
|
signature-members)
|
||||||
|
|
|
@ -11,18 +11,18 @@
|
||||||
scheme/struct-info
|
scheme/struct-info
|
||||||
syntax/stx
|
syntax/stx
|
||||||
unstable/location
|
unstable/location
|
||||||
"private/unit-contract-syntax.ss"
|
"private/unit-contract-syntax.rkt"
|
||||||
"private/unit-compiletime.ss"
|
"private/unit-compiletime.rkt"
|
||||||
"private/unit-syntax.ss"))
|
"private/unit-syntax.rkt"))
|
||||||
|
|
||||||
(require mzlib/etc
|
(require mzlib/etc
|
||||||
racket/contract/base
|
racket/contract/base
|
||||||
scheme/stxparam
|
scheme/stxparam
|
||||||
unstable/location
|
unstable/location
|
||||||
"private/unit-contract.ss"
|
"private/unit-contract.rkt"
|
||||||
"private/unit-keywords.ss"
|
"private/unit-keywords.rkt"
|
||||||
"private/unit-runtime.ss"
|
"private/unit-runtime.rkt"
|
||||||
"private/unit-utils.ss"
|
"private/unit-utils.rkt"
|
||||||
(rename-in racket/private/struct [struct struct~]))
|
(rename-in racket/private/struct [struct struct~]))
|
||||||
|
|
||||||
(provide define-signature-form struct struct/ctc open
|
(provide define-signature-form struct struct/ctc open
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
syntax/stx
|
syntax/stx
|
||||||
syntax/name
|
syntax/name
|
||||||
syntax/context
|
syntax/context
|
||||||
"list.ss"
|
"list.rkt"
|
||||||
"private/unitidmap.ss")
|
"private/unitidmap.rkt")
|
||||||
|
|
||||||
;; ----------------------------------------------------------------------
|
;; ----------------------------------------------------------------------
|
||||||
;; Structures and helpers
|
;; Structures and helpers
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
;; compile-time information). It's in dire need of an overhaul.
|
;; compile-time information). It's in dire need of an overhaul.
|
||||||
|
|
||||||
(module unitsig200 mzscheme
|
(module unitsig200 mzscheme
|
||||||
(require "unit200.ss")
|
(require "unit200.rkt")
|
||||||
(require "private/sigmatch.ss")
|
(require "private/sigmatch.rkt")
|
||||||
|
|
||||||
(require-for-syntax "private/sigutil.ss")
|
(require-for-syntax "private/sigutil.rkt")
|
||||||
(require-for-syntax "private/sigmatch.ss")
|
(require-for-syntax "private/sigmatch.rkt")
|
||||||
(require-for-syntax syntax/kerncase)
|
(require-for-syntax syntax/kerncase)
|
||||||
|
|
||||||
(define-struct signed-unit (unit imports exports))
|
(define-struct signed-unit (unit imports exports))
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
(module old-ds '#%kernel
|
(module old-ds '#%kernel
|
||||||
(#%require "define-struct.ss"
|
(#%require "define-struct.rkt"
|
||||||
(for-syntax '#%kernel
|
(for-syntax '#%kernel
|
||||||
"stxcase-scheme.ss"))
|
"stxcase-scheme.rkt"))
|
||||||
|
|
||||||
(#%provide define-struct let-struct datum)
|
(#%provide define-struct let-struct datum)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user