small medium large xlarge

Generic-user-small
26 Mar 2018, 16:24
Stephen E Riley (16 posts)

I don’t believe the statement in your aside on PDF page 103 is entirely correct. As far as I can tell, the initial namespace in the REPL will be be user inside a Leiningen Clojure project if the project created does not have the :main entry in the project.clj.

lein new app-name creates a library project that does not have a :main entry in the project.clj.

lein new app app-name creates a library project that DOES have a :main entry in the project.clj.

You must be logged in to comment