CLOJURE – File User.clj Where should I go?

I am trying to set up the proto-repl atom-editor package, obviously it needs a file user.clj to exist somewhere – I think this is some leiningen init file.

Where should I create this file?

If found, Clojure will load the file user.clj from the classpath. In the default leinengen project , src/ will be on the classpath, so if you create src/user.clj, the contents of the file will be loaded into the context of the user namespace.

user is the default naming for clojure repl Space, but some leiningen projects will override it. To access the definition in user.clj, you need to pull the user into scope (using require or use) or make sure that the user is your starting namespace.

I am trying to set up the proto-repl atom-editor package, obviously it needs a file user.clj to exist somewhere – I think this is some leiningen init file.

Where should I create this file?

If found, Clojure will load the file user.clj from the classpath. In the default leinengen project, src/ will be on the classpath, so if you create src/user.clj, the content of the file will be loaded into the context of the user namespace.

user is the default namespace of clojure repl, but some leiningen projects will override it. To access The definition in user.clj, you need to pull the user into the scope (using require or use) or make sure that the user is your starting namespace.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2458 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.