Skip to content

Instantly share code, notes, and snippets.

@jcromartie
Last active January 2, 2016 20:39
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 jcromartie/b63a93e0845603636f9e to your computer and use it in GitHub Desktop.
Save jcromartie/b63a93e0845603636f9e to your computer and use it in GitHub Desktop.
(defn f [] (println "A"))
(defn g [] (fn [] (f)))
((g))
;; A
(defn f [] (println "B"))
((g))
;; B
(ns-unmap *ns* 'f)
((g))
;; B
(defn f [] (println "C"))
((g))
;; B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment