clojure - How do functions get into different namespaces in the Duct framework? -


when fire new clojure project based on duct web framework, main.clj file contains following require clause:

:require  ...      [duct.util.system :refer [load-system]] ... 

but when inspect duct source, src/duct/util/system.clj doesn't define load-system function. in fact, load-system appears defined in lein-template/resources/leiningen/new/duct/base/dev.clj, in dev namespace.

so: how function end in duct.util.system namespace?

i guess issue looked @ duct.util.system source on master branch has been changed since version using in project:


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

python - Getting next two indexes regardless of current index -

ruby - Prevent Custom Validation Error on Association -