Merge up to get Sam's removal of infer contracts (from trunk).
svn: r11740
This commit is contained in:
commit
c5e1019f27
|
@ -3,25 +3,10 @@
|
||||||
(require (except-in "../utils/utils.ss" infer))
|
(require (except-in "../utils/utils.ss" infer))
|
||||||
(require "infer-unit.ss" "constraints.ss" "dmap.ss" "signatures.ss"
|
(require "infer-unit.ss" "constraints.ss" "dmap.ss" "signatures.ss"
|
||||||
"restrict.ss" "promote-demote.ss"
|
"restrict.ss" "promote-demote.ss"
|
||||||
scheme/contract
|
(only-in scheme/unit provide-signature-elements)
|
||||||
(rep type-rep)
|
|
||||||
(utils unit-utils))
|
(utils unit-utils))
|
||||||
|
|
||||||
(provide/contract
|
(provide-signature-elements restrict^ infer^)
|
||||||
[infer (((listof symbol?) (listof Type?) (listof Type?) (or/c (one-of/c #f) Type?) (listof symbol?))
|
|
||||||
((or/c (one-of/c #f) Type?))
|
|
||||||
. ->* .
|
|
||||||
(listof (list/c symbol? Type?)))]
|
|
||||||
[infer/vararg (((listof symbol?) (listof Type?) (listof Type?) Type? (or/c (one-of/c #f) Type?) (listof symbol?))
|
|
||||||
((or/c (one-of/c #f) Type?))
|
|
||||||
. ->* .
|
|
||||||
(listof (list/c symbol? Type?)))]
|
|
||||||
[infer/dots (((listof symbol?) symbol? (listof Type?) (listof Type?) Type? (or/c (one-of/c #f) Type?) (listof symbol?))
|
|
||||||
(#:expected (or/c (one-of/c #f) Type?))
|
|
||||||
. ->* .
|
|
||||||
(listof (list/c symbol? Type?)))])
|
|
||||||
|
|
||||||
(provide restrict)
|
|
||||||
|
|
||||||
(define-values/link-units/infer
|
(define-values/link-units/infer
|
||||||
infer@ constraints@ dmap@ restrict@ promote-demote@)
|
infer@ constraints@ dmap@ restrict@ promote-demote@)
|
Loading…
Reference in New Issue
Block a user