;; Given a file named "example.clj" is available in the current folder
;; with content:
(ns example)
(when *compile-files* (println "Compiling:" *file*))
;; If we start a REPL adding "." as part of the classpath,
;; then we can see the following:
(binding [*compile-path* "."]
(compile 'example))
;; Compiling: example.clj
;; example