clj-demo
Barebones demo of Clojure project setup
main
Usage via Invoke your namespace with main
via clj -m <namespace>
command-line tool
> cd clj-demo
> clj -m demo.b
Usage via REPL
- Start the repl with
clj
> cd clj-demo
> clj
- Import your namespace, that can use other namespaces, and call functions from your namespace
(require '[demo.b :as b])
(b/bar 4)