4 ms·
> Clojure namespaces are just packages. But of course Clojure is case sensitive, so you will need to use pipe characters to call, for example, |clojure.core|:|c
by e12e 7y ago
> Clojure namespaces are just packages. But of course Clojure is case sensitive, so you will need to use pipe characters to call, for example, |clojure.core|:|cons|.
Is this an implementation detail or a common lisp idiom to work with case (in)sensitivity?
- globular-toast 7y agoThe statement you quoted is a bit misleading. Common Lisp is case sensitive just like Clojure, but unlike Clojure all of the standard library is spelt with upper case and the reader automatically concerts symbol names to upper case, unless you quote them, like in the given example.
- mikelevins 7y agoYou can also use the standard accessor readtable-case to tell your Lisp whether you want it to convert case or not.