/clj-demo

Barebones demo repository for Clojure

Primary LanguageClojure

clj-demo

Barebones demo of Clojure project setup

Usage via main

Invoke your namespace with main via clj -m <namespace> command-line tool

> cd clj-demo
> clj -m demo.b

Usage via REPL

  1. Start the repl with clj
> cd clj-demo
> clj
  1. Import your namespace, that can use other namespaces, and call functions from your namespace
(require '[demo.b :as b])
(b/bar 4)