Skip to content

Instantly share code, notes, and snippets.

@tommyettinger
Forked from kpmaynard/gist:8611605
Last active January 4, 2016 10:49
Show Gist options
  • Save tommyettinger/8611744 to your computer and use it in GitHub Desktop.
Save tommyettinger/8611744 to your computer and use it in GitHub Desktop.
(defn multiple-trials [m n]
( loop [m m acc []]
(if (> m 0)
(recur (dec m) (conj acc (compute-winnings-for-a-trial n)))
acc)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment