4 lines
76 B
OCaml
4 lines
76 B
OCaml
|
|
let array_rand ary =
|
||
|
|
let len = Array.length ary in
|
||
|
|
ary.(Random.int len)
|