Created
October 19, 2014 12:56
-
-
Save schmee/12af069cdfd8b6204e7a 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 '[vinyasa.inject :as inject]) | |
(inject/in | |
clojure.core | |
[clojure.pprint [pprint pp]])]}} | |
REPL output: | |
$ lein repl | |
nREPL server started on port 52642 on host 127.0.0.1 - nrepl://127.0.0.1:52642 | |
REPL-y 0.3.1 | |
Clojure 1.6.0 | |
WARNING: pp already refers to: #'clojure.core/pp in namespace: user, being replaced by: #'clojure.pprint/pp | |
Docs: (doc function-name-here) | |
(find-doc "part-of-name-here") | |
Source: (source function-name-here) | |
Javadoc: (javadoc java-object-or-class-here) | |
Exit: Control+D or (exit) or (quit) | |
Results: Stored in vars *1, *2, *3, an exception in *e | |
user=> (def a {:a 1 :b {1 1 2 2}}) | |
#'user/a | |
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