parent
0a8ad31a47
commit
2da100ba8f
|
@ -6,7 +6,6 @@
|
||||||
(utils tc-utils)
|
(utils tc-utils)
|
||||||
unstable/sequence unstable/hash
|
unstable/sequence unstable/hash
|
||||||
"signatures.rkt" "constraint-structs.rkt"
|
"signatures.rkt" "constraint-structs.rkt"
|
||||||
unstable/debug
|
|
||||||
racket/match
|
racket/match
|
||||||
racket/list)
|
racket/list)
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
racket/match
|
racket/match
|
||||||
mzlib/etc
|
mzlib/etc
|
||||||
racket/trace racket/contract
|
racket/trace racket/contract
|
||||||
unstable/sequence unstable/list unstable/debug unstable/hash
|
unstable/sequence unstable/list unstable/hash
|
||||||
racket/list)
|
racket/list)
|
||||||
|
|
||||||
(import dmap^ constraints^ promote-demote^)
|
(import dmap^ constraints^ promote-demote^)
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
syntax/stx (prefix-in c: scheme/contract)
|
syntax/stx (prefix-in c: scheme/contract)
|
||||||
syntax/parse
|
syntax/parse
|
||||||
(env type-env-structs tvar-env type-name-env type-alias-env lexical-env index-env)
|
(env type-env-structs tvar-env type-name-env type-alias-env lexical-env index-env)
|
||||||
racket/match unstable/debug
|
racket/match
|
||||||
(for-template scheme/base "colon.ss")
|
(for-template scheme/base "colon.ss")
|
||||||
;; needed at this phase for tests
|
;; needed at this phase for tests
|
||||||
(combine-in (prefix-in t: "base-types-extra.ss") "colon.ss")
|
(combine-in (prefix-in t: "base-types-extra.ss") "colon.ss")
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
(prefix-in c: (combine-in racket/contract/regions racket/contract/base)))
|
(prefix-in c: (combine-in racket/contract/regions racket/contract/base)))
|
||||||
"extra-procs.rkt" "prims.rkt"
|
"extra-procs.rkt" "prims.rkt"
|
||||||
syntax/parse racket/block racket/match
|
syntax/parse racket/block racket/match
|
||||||
unstable/sequence unstable/debug "base-types-extra.rkt"
|
unstable/sequence "base-types-extra.rkt"
|
||||||
(except-in (path-up "env/type-name-env.rkt"
|
(except-in (path-up "env/type-name-env.rkt"
|
||||||
"env/type-alias-env.rkt"
|
"env/type-alias-env.rkt"
|
||||||
"infer/infer-dummy.rkt"
|
"infer/infer-dummy.rkt"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
(require (utils tc-utils)
|
(require (utils tc-utils)
|
||||||
"rep-utils.rkt" "object-rep.rkt" "filter-rep.rkt" "free-variance.rkt"
|
"rep-utils.rkt" "object-rep.rkt" "filter-rep.rkt" "free-variance.rkt"
|
||||||
mzlib/trace racket/match mzlib/etc
|
mzlib/trace racket/match mzlib/etc
|
||||||
scheme/contract unstable/debug
|
scheme/contract
|
||||||
(for-syntax scheme/base syntax/parse))
|
(for-syntax scheme/base syntax/parse))
|
||||||
|
|
||||||
(define name-table (make-weak-hasheq))
|
(define name-table (make-weak-hasheq))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
(require "../utils/utils.rkt"
|
(require "../utils/utils.rkt"
|
||||||
syntax/kerncase
|
syntax/kerncase
|
||||||
syntax/parse
|
syntax/parse
|
||||||
racket/match unstable/debug
|
racket/match
|
||||||
"signatures.rkt" "tc-metafunctions.rkt"
|
"signatures.rkt" "tc-metafunctions.rkt"
|
||||||
(types utils convenience union subtype)
|
(types utils convenience union subtype)
|
||||||
(utils tc-utils)
|
(utils tc-utils)
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
(utils tc-utils)
|
(utils tc-utils)
|
||||||
(for-syntax syntax/parse racket/base)
|
(for-syntax syntax/parse racket/base)
|
||||||
racket/contract/private/provide unstable/list
|
racket/contract/private/provide unstable/list
|
||||||
unstable/debug syntax/id-table racket/dict
|
syntax/id-table racket/dict
|
||||||
racket/syntax scheme/struct-info racket/match
|
racket/syntax scheme/struct-info racket/match
|
||||||
"def-binding.rkt" syntax/parse
|
"def-binding.rkt" syntax/parse
|
||||||
(for-template scheme/base "def-export.rkt" scheme/contract))
|
(for-template scheme/base "def-export.rkt" scheme/contract))
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"tc-app-helper.rkt" "find-annotation.rkt" "tc-funapp.rkt"
|
"tc-app-helper.rkt" "find-annotation.rkt" "tc-funapp.rkt"
|
||||||
"tc-subst.rkt" (prefix-in c: racket/contract)
|
"tc-subst.rkt" (prefix-in c: racket/contract)
|
||||||
syntax/parse racket/match racket/trace scheme/list
|
syntax/parse racket/match racket/trace scheme/list
|
||||||
unstable/sequence unstable/debug unstable/list
|
unstable/sequence unstable/list
|
||||||
;; fixme - don't need to be bound in this phase - only to make tests work
|
;; fixme - don't need to be bound in this phase - only to make tests work
|
||||||
scheme/bool
|
scheme/bool
|
||||||
racket/unsafe/ops
|
racket/unsafe/ops
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
(only-in (env type-env-structs lexical-env)
|
(only-in (env type-env-structs lexical-env)
|
||||||
env? update-type/lexical env-map env-props replace-props)
|
env? update-type/lexical env-map env-props replace-props)
|
||||||
scheme/contract racket/match
|
scheme/contract racket/match
|
||||||
mzlib/trace unstable/debug unstable/struct
|
mzlib/trace unstable/struct
|
||||||
(typecheck tc-metafunctions)
|
(typecheck tc-metafunctions)
|
||||||
(for-syntax scheme/base))
|
(for-syntax scheme/base))
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
(only-in (infer infer) restrict)
|
(only-in (infer infer) restrict)
|
||||||
(except-in (utils tc-utils stxclass-util))
|
(except-in (utils tc-utils stxclass-util))
|
||||||
(env lexical-env type-env-structs tvar-env index-env)
|
(env lexical-env type-env-structs tvar-env index-env)
|
||||||
racket/private/class-internal unstable/debug
|
racket/private/class-internal
|
||||||
(except-in syntax/parse id)
|
(except-in syntax/parse id)
|
||||||
unstable/function
|
unstable/function
|
||||||
(only-in srfi/1 split-at))
|
(only-in srfi/1 split-at))
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
(typecheck tc-envops tc-metafunctions)
|
(typecheck tc-envops tc-metafunctions)
|
||||||
(types type-table)
|
(types type-table)
|
||||||
syntax/kerncase
|
syntax/kerncase
|
||||||
racket/trace unstable/debug
|
racket/trace
|
||||||
racket/match)
|
racket/match)
|
||||||
|
|
||||||
;; if typechecking
|
;; if typechecking
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
(types abbrev utils)
|
(types abbrev utils)
|
||||||
(env type-env-structs lexical-env tvar-env index-env)
|
(env type-env-structs lexical-env tvar-env index-env)
|
||||||
(utils tc-utils)
|
(utils tc-utils)
|
||||||
unstable/debug
|
|
||||||
racket/match)
|
racket/match)
|
||||||
(require (for-template scheme/base "internal-forms.rkt"))
|
(require (for-template scheme/base "internal-forms.rkt"))
|
||||||
|
|
||||||
|
|
|
@ -8,11 +8,11 @@
|
||||||
(env lexical-env type-alias-env global-env type-env-structs)
|
(env lexical-env type-alias-env global-env type-env-structs)
|
||||||
(rep type-rep)
|
(rep type-rep)
|
||||||
syntax/free-vars
|
syntax/free-vars
|
||||||
;racket/trace unstable/debug
|
;racket/trace
|
||||||
racket/match (prefix-in c: racket/contract)
|
racket/match (prefix-in c: racket/contract)
|
||||||
(except-in racket/contract -> ->* one-of/c)
|
(except-in racket/contract -> ->* one-of/c)
|
||||||
syntax/kerncase syntax/parse unstable/syntax
|
syntax/kerncase syntax/parse unstable/syntax
|
||||||
unstable/debug
|
|
||||||
(for-template
|
(for-template
|
||||||
racket/base
|
racket/base
|
||||||
"internal-forms.rkt"))
|
"internal-forms.rkt"))
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
syntax/kerncase
|
syntax/kerncase
|
||||||
syntax/struct
|
syntax/struct
|
||||||
mzlib/trace
|
mzlib/trace
|
||||||
unstable/debug
|
|
||||||
racket/function
|
racket/function
|
||||||
racket/match
|
racket/match
|
||||||
(only-in racket/contract
|
(only-in racket/contract
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
[->* -->*]
|
[->* -->*]
|
||||||
[one-of/c -one-of/c])
|
[one-of/c -one-of/c])
|
||||||
(rep type-rep filter-rep rep-utils) scheme/list
|
(rep type-rep filter-rep rep-utils) scheme/list
|
||||||
scheme/contract racket/match unstable/match unstable/debug
|
scheme/contract racket/match unstable/match
|
||||||
(for-syntax scheme/base)
|
(for-syntax scheme/base)
|
||||||
"tc-metafunctions.rkt")
|
"tc-metafunctions.rkt")
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
(require (rename-in "../utils/utils.rkt" [infer r:infer])
|
(require (rename-in "../utils/utils.rkt" [infer r:infer])
|
||||||
syntax/kerncase
|
syntax/kerncase
|
||||||
unstable/list racket/syntax syntax/parse unstable/debug
|
unstable/list racket/syntax syntax/parse
|
||||||
mzlib/etc
|
mzlib/etc
|
||||||
racket/match
|
racket/match
|
||||||
"signatures.rkt"
|
"signatures.rkt"
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
racket/list
|
racket/list
|
||||||
racket/match
|
racket/match
|
||||||
unstable/function
|
unstable/function
|
||||||
(except-in racket/contract ->* ->)
|
(except-in racket/contract/base ->* ->)
|
||||||
(prefix-in c: racket/contract)
|
(prefix-in c: racket/contract/base)
|
||||||
(for-syntax racket/base syntax/parse)
|
(for-syntax racket/base syntax/parse)
|
||||||
(for-template racket/base racket/contract racket/promise racket/tcp racket/flonum)
|
(for-template racket/base racket/contract/base racket/promise racket/tcp racket/flonum)
|
||||||
;; for base type predicates
|
;; for base type predicates
|
||||||
racket/promise racket/tcp racket/flonum)
|
racket/promise racket/tcp racket/flonum)
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
(utils tc-utils)
|
(utils tc-utils)
|
||||||
"abbrev.rkt" "numeric-tower.rkt" (only-in scheme/contract current-blame-format)
|
"abbrev.rkt" "numeric-tower.rkt" (only-in scheme/contract current-blame-format)
|
||||||
(types comparison printer union subtype utils substitute)
|
(types comparison printer union subtype utils substitute)
|
||||||
scheme/list racket/match scheme/promise
|
scheme/list racket/match
|
||||||
(for-syntax syntax/parse scheme/base)
|
(for-syntax syntax/parse scheme/base)
|
||||||
unstable/debug syntax/id-table scheme/dict
|
syntax/id-table scheme/dict
|
||||||
racket/trace
|
racket/trace
|
||||||
(for-template scheme/base))
|
(for-template scheme/base))
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
(utils tc-utils) (only-in (infer infer) restrict)
|
(utils tc-utils) (only-in (infer infer) restrict)
|
||||||
"abbrev.rkt" (only-in scheme/contract current-blame-format [-> -->] listof)
|
"abbrev.rkt" (only-in scheme/contract current-blame-format [-> -->] listof)
|
||||||
(types comparison printer union subtype utils remove-intersect)
|
(types comparison printer union subtype utils remove-intersect)
|
||||||
scheme/list racket/match scheme/promise
|
scheme/list racket/match
|
||||||
(for-syntax syntax/parse scheme/base)
|
(for-syntax syntax/parse scheme/base)
|
||||||
unstable/debug syntax/id-table scheme/dict
|
syntax/id-table scheme/dict
|
||||||
racket/trace
|
racket/trace
|
||||||
(for-template scheme/base))
|
(for-template scheme/base))
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
(require "../utils/utils.rkt"
|
(require "../utils/utils.rkt"
|
||||||
(rep type-rep rep-utils)
|
(rep type-rep rep-utils)
|
||||||
(types union subtype resolve convenience utils)
|
(types union subtype resolve convenience utils)
|
||||||
racket/match mzlib/trace unstable/debug)
|
racket/match mzlib/trace)
|
||||||
|
|
||||||
(provide (rename-out [*remove remove]) overlap)
|
(provide (rename-out [*remove remove]) overlap)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user