tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
4
Task/Random-numbers/Clojure/random-numbers.clj
Normal file
4
Task/Random-numbers/Clojure/random-numbers.clj
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(import '(java.util Random))
|
||||
(def normals
|
||||
(let [r (Random.)]
|
||||
(take 1000 (repeatedly #(-> r .nextGaussian (* 0.5) (+ 1.0))))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue