Created
October 19, 2014 12:06
-
-
Save schmee/662a1444754141b721d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:user {:dependencies [[im.chit/vinyasa "0.2.2"]] | |
:injections | |
[(require 'clojure.pprint) | |
(ns-unmap *ns* 'pp) | |
(def pp clojure.pprint/pprint) | |
(def p println)]}} | |
REPL output: | |
user=> (def a {:a 1 :b {1 1 2 2}}) | |
#'user/a | |
user=> (p a) | |
{:b {1 1, 2 2}, :a 1} | |
nil | |
user=> (pp a) | |
ArityException Wrong number of args (1) passed to: pprint/pp clojure.lang.Compiler.macroexpand1 (Compiler.java:6557) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment