Skip to content

Instantly share code, notes, and snippets.

@jonase
Created October 24, 2012 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonase/3948008 to your computer and use it in GitHub Desktop.
Save jonase/3948008 to your computer and use it in GitHub Desktop.
(defmulti foo identity)
(defmethod foo 1 [n]
(recur (dec n)))
(defmethod foo 0 [n]
:ok)
(foo 1) ;; runs forever
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment