Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
let () =
|
||||
let cls = Array.init 10 (fun i -> (function () -> i * i)) in
|
||||
Random.self_init ();
|
||||
for i = 1 to 6 do
|
||||
let x = Random.int 9 in
|
||||
Printf.printf " fun.(%d) = %d\n" x (cls.(x) ());
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue