Skip to content

Instantly share code, notes, and snippets.

@francoisdevlin
Created April 26, 2010 17:22
Show Gist options
  • Save francoisdevlin/379613 to your computer and use it in GitHub Desktop.
Save francoisdevlin/379613 to your computer and use it in GitHub Desktop.
(defn roman-roullette
[n size]
(last (take-until empty? (iterate (& rest (p rotate n)) (range 0 size)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment