Improve type of random
on fixnums.
This commit is contained in:
parent
4e826cdde2
commit
ff577496be
|
@ -61,7 +61,8 @@
|
|||
|
||||
;; Section 4.2.2.7 (Random Numbers)
|
||||
[random
|
||||
(cl->* (->opt -Int [-Pseudo-Random-Generator] -Nat)
|
||||
(cl->* (->opt -PosFixnum [-Pseudo-Random-Generator] -NonNegFixnum)
|
||||
(->opt -Int [-Pseudo-Random-Generator] -Nat)
|
||||
(->opt [-Pseudo-Random-Generator] -Flonum))]
|
||||
|
||||
[random-seed (-> -PosInt -Void)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user