Skip to content

Instantly share code, notes, and snippets.

@ngsmrk
Created February 19, 2015 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngsmrk/00c9486931834d8e8e1b to your computer and use it in GitHub Desktop.
Save ngsmrk/00c9486931834d8e8e1b to your computer and use it in GitHub Desktop.
Clojure -> import, instantiate and call java.util.Random
(import '(java.util Random)
(def rnd (new Random))
(. rnd nextInt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment