Improve type of random
on fixnums.
original commit: ff577496be4198833a9c15167a603c4264f1c02b
This commit is contained in:
parent
bb98b99362
commit
03506d0eb4
|
@ -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