Skip to content

Instantly share code, notes, and snippets.

@arichiardi
Created January 7, 2017 00:50
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 arichiardi/d2eda88d304b3a9002aac0e941d8cc05 to your computer and use it in GitHub Desktop.
Save arichiardi/d2eda88d304b3a9002aac0e941d8cc05 to your computer and use it in GitHub Desktop.
(require 'clojure.repl)
;; macros
;; https://github.com/boot-clj/boot/commit/045d01101d61d947e1efd729e1f73b5690020928
(intern 'clojure.core (with-meta 'doc {:macro true}) @#'clojure.repl/doc)
(intern 'clojure.core (with-meta 'dir {:macro true}) @#'clojure.repl/dir)
(intern 'clojure.core (with-meta 'source {:macro true}) @#'clojure.repl/source)
;; fns
(intern 'clojure.core 'apropos @#'clojure.repl/apropos)
(intern 'clojure.core 'demunge @#'clojure.repl/demunge)
(intern 'clojure.core 'find-doc @#'clojure.repl/find-doc)
(intern 'clojure.core 'pst @#'clojure.repl/pst)
(intern 'clojure.core 'root-cause @#'clojure.repl/root-cause)
(intern 'clojure.core 'set-break-handler! @#'clojure.repl/set-break-handler!)
(intern 'clojure.core 'stack-element-str @#'clojure.repl/stack-element-str)
(intern 'clojure.core 'thread-stopper @#'clojure.repl/thread-stopper)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment