I just found out, and thought I would share the answer with everyone.
It had nothing to do with the code, but my editor's REPL. Lein's REPL was ok as I could run lein run
and lein repl
and see the prompt being set to the namespace snake.core=>
, whereas in SublimeText's SublimeREPL's REPL it was set to user.core=>
. I just had to close it, open the project.clj
file and from here open launch a Clojure REPL with SublimeREPL. It is now set properly to snake.core=>
and no more error.
Back to coding !