Newbie Classpath issues on OSX

2020-10-03 Thread ok_computer
After reinstalling Leiningen via brew, I started getting classpath errors. I uninstalled all my Clojure libs, deleted the ~/.lein folder and started fresh with a new install using 'brew install Leiningen' which gave me a new Clojure and Leiningen. It worked fine at first, until I tried creatin

Re: symbol is not a symbol in (def (symbol "x") ...) ???

2020-10-03 Thread tome...@gmail.com
`def` is a special form and it expects exactly a symbol as a first argument (https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Compiler.java#L541). That means that you can't do: (def (symbol "a") 1). To generate `defs` from macro you can do the following: (defmacro def-stuff

Re: Clojure as first language

2020-10-03 Thread Baye
Thanks for the tip! On Saturday, October 3, 2020 at 1:20:17 AM UTC+3 markus...@gmail.com wrote: > Concering your quote "my interest in programming is not limited to data > science/ML...I am potentially interested in building apps": my repository > https://github.com/kloimhardt/bb-web has a set