Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn quiz [total correct end-time numbers-to-test]
- (if (before? (now) end-time)
- (recur (inc total)
- (if (quiz-question numbers-to-test) (inc correct) correct)
- end-time
- numbers-to-test)
- (assoc {} :correct correct :total total)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement