File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
typed-racket-lib/typed-racket/static-contracts Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 30
30
. ->* . (or/c a (list/c (listof syntax?) syntax?))))]
31
31
[instantiate
32
32
(parametric->/c (a) ((static-contract? (-> #:reason (or/c #f string?) a))
33
- (contract-kind? #:cache hash? #:recursive-kinds #f )
33
+ (contract-kind? #:cache hash? #:recursive-kinds (or/c hash? #f ) )
34
34
. ->* . (or/c a (list/c (listof syntax?) syntax?))))]
35
35
[should-inline-contract? (-> syntax? boolean?)])
36
36
Original file line number Diff line number Diff line change 17
17
18
18
19
19
(provide/cond-contract
20
- [optimize ((static-contract?) (#:trusted-positive boolean? #:trusted-negative boolean? #:recursive-kinds hash?)
20
+ [optimize ((static-contract?) (#:trusted-positive boolean? #:trusted-negative boolean? #:recursive-kinds (or/c #f hash?) )
21
21
. ->* . static-contract?)])
22
22
23
23
;; Reduce a static contract to a smaller simpler one that protects in the same way
You can’t perform that action at this time.
0 commit comments