revert contracts
svn: r11739 original commit: 35244d474e300136949539b6690d8d0124426d31
This commit is contained in:
parent
c7f2971ecb
commit
593b26228e
|
@ -3,25 +3,10 @@
|
|||
(require (except-in "../utils/utils.ss" infer))
|
||||
(require "infer-unit.ss" "constraints.ss" "dmap.ss" "signatures.ss"
|
||||
"restrict.ss" "promote-demote.ss"
|
||||
scheme/contract
|
||||
(rep type-rep)
|
||||
(only-in scheme/unit provide-signature-elements)
|
||||
(utils unit-utils))
|
||||
|
||||
(provide/contract
|
||||
[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)
|
||||
(provide-signature-elements restrict^ 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