lein repl
: To start(pst)
: Print stack trace(load-file "myfile.clj")
: Run a CLJ file- Results of 3 most recent expressions:
*1, *2, *3
(require '[clojure.by.example :as cbe])
: Require namespace(use 'clojure.lib)
: Use library at the REPL(lein test :only clj-testing.namespace.my-test)
: Run a specific namespace tests- use lein-try to test out clojars in repl
#{}
: Set,#{1 2 3 3 4}
:Syntax error: Duplicate key: 3
(conj coll item)
: Conjoin (append item to collection coll)
(def my_atom_name (atom #{}))
: Bind an empty set atom to the name
lein deps
: Install dependencies from project.clj