Advertisement
jkdufair

Untitled

Feb 17th, 2012
168
0
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)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement