Skip to content

Instantly share code, notes, and snippets.

@ayato-p
Created February 1, 2016 04:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayato-p/1bad3b0058a1bba7df2e to your computer and use it in GitHub Desktop.
Save ayato-p/1bad3b0058a1bba7df2e to your computer and use it in GitHub Desktop.
(ns example.another)
(defn hello [] (println "Hello"))
(ns example.main
(:require [example.another :as ea]))
(ea/hello)
(defn good-bye [] (println "Good bye"))
(alter-var-root #'ea/hello (constantly good-bye))
(ea/hello)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment