File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
typed-racket-lib/typed-racket/base-env
typed-racket-test/unit-tests Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 92
92
93
93
;; Section 4.3.2.7 (Random Numbers)
94
94
[random
95
- (cl->* (->opt -Int -Int [-Pseudo-Random-Generator] -NonNegFixnum )
95
+ (cl->* (->opt -Int -Int [-Pseudo-Random-Generator] -Int )
96
96
(->opt -Int [-Pseudo-Random-Generator] -NonNegFixnum)
97
97
(->opt [-Pseudo-Random-Generator] -Flonum))]
98
98
Original file line number Diff line number Diff line change 2182
2182
(pseudo-random-generator->vector pg))
2183
2183
(-vec* -PosInt -PosInt -PosInt -PosInt -PosInt -PosInt))
2184
2184
(tc-e (random 1 5 (make-pseudo-random-generator))
2185
- -NonNegFixnum)
2185
+ -Integer)
2186
+ (tc-e (random -1 -5 (make-pseudo-random-generator))
2187
+ -Integer)
2186
2188
2187
2189
;Structure Type Properties
2188
2190
(tc-e (make-struct-type-property 'prop )
You can’t perform that action at this time.
0 commit comments