I have created sample namespace:
[demas @arch.local.net ][~/dev/projects/diary]% cat shell_space.clj
(ns shell_space)
(defn test_fu []
(println "test-shell"))
How can I use the test_fu from my namespace?
I have tried:
[demas @arch.local.net ][~]% clj
Clojure 1.1.0-alpha-SNAPSHOT
user=> (require 'shell_space)
java.io.FileNotFoundException: Could not locate shell_space__init.class or shell_space.clj on classpath: (NO_SOURCE_FILE:0)
user=> (require '/home/demas/dev/projects/diary/shell_space)
java.lang.Exception: Invalid token: /home/demas/dev/projects/diary/shell_space java.lang.Exception: Unmatched delimiter: )
This is my CLASSPATH:
[demas @arch.local.net ][~]% echo $CLASSPATH
/home/demas/dev/projects/diary