Skip to content

Instantly share code, notes, and snippets.

@alandipert
Created April 16, 2015 19:47
Show Gist options
  • Save alandipert/ac651166a4b00d8fa042 to your computer and use it in GitHub Desktop.
Save alandipert/ac651166a4b00d8fa042 to your computer and use it in GitHub Desktop.
alan@alanputer:~/Desktop$ tree
.
└── jars
└── upcase-2.0.0.jar
1 directory, 1 file
alan@alanputer:~/Desktop$ boot repl
nREPL server started on port 50498 on host 127.0.0.1 - nrepl://127.0.0.1:50498
REPL-y 0.3.5, nREPL 0.2.8
Clojure 1.6.0
OpenJDK 64-Bit Server VM 1.8.0_40-b25
Exit: Control+D or (exit) or (quit)
Commands: (user/help)
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Find by Name: (find-name "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Examples from clojuredocs.org: [clojuredocs or cdoc]
(user/clojuredocs name-here)
(user/clojuredocs "ns-here" "name-here")
boot.user=> (require '[boot.pod :as pod])
nil
boot.user=> (doseq [f (.listFiles (java.io.File. "jars"))] (pod/add-classpath f))
nil
boot.user=> (require 'alandipert.upcase)
nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment