clojure - Where should the file user.clj go? -


i trying setup proto-repl atom-editor package , apparently needs file user.clj exist somewhere - guess leiningen's init file.

where should create file?

clojure load file user.clj class path if found. in default leinengen project src/ on class path, if create src/user.clj contents of file loaded in context of user namespace.

user default namespace clojure repl, leiningen projects override this. in order access definitions in user.clj need either pull user scope (using require or use) or make sure user starting namespace.


Comments