Update the type of random
for ranges
Also simplify redundant cases
This commit is contained in:
parent
1a11ac53e2
commit
7e3178798b
|
@ -66,8 +66,8 @@
|
|||
|
||||
;; Section 4.2.2.7 (Random Numbers)
|
||||
[random
|
||||
(cl->* (->opt -PosFixnum [-Pseudo-Random-Generator] -NonNegFixnum)
|
||||
(->opt -Int [-Pseudo-Random-Generator] -Nat)
|
||||
(cl->* (->opt -Int -Int [-Pseudo-Random-Generator] -NonNegFixnum)
|
||||
(->opt -Int [-Pseudo-Random-Generator] -NonNegFixnum)
|
||||
(->opt [-Pseudo-Random-Generator] -Flonum))]
|
||||
|
||||
[random-seed (-> -PosInt -Void)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user