News for hackers. Stuff that matters.
Re:Try Clojure by silcoon on Thursday May 23, 2024 @06:14AM (#40452809)
Not a syntax error. TryClojure is running on SCI which is a interpreter that uses a Babashka version for Clojurescript compiler, not Clojure JVM.

Babashka cli returns this, telling you clearly what the error is:

   user=> (+ 2 2 + 3)
   java.lang.ClassCastException: clojure.core$_PLUS_ cannot be cast to java.lang.Number [at <repl>:1:1]

There are no comments on this comment yet.