SHARE
TWEET

Untitled

jkdufair Feb 17th, 2012 109 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn quiz [total correct end-time numbers-to-test]
  2.   (if (before? (now) end-time)
  3.     (recur (inc total)
  4.              (if (quiz-question numbers-to-test) (inc correct) correct)
  5.              end-time
  6.              numbers-to-test)
  7.     (assoc {} :correct correct :total total)))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top