Fork me on GitHub

How can I set the clojure language version to 1.10? I鈥檓 writing a library and I keep using functions which are not available in older clojure version 馃檲 (e.g. update-vals and update-keys)

Alex Miller (Clojure team)18:05:12

those are actually in Clojure 1.11.1, but you just need to set that as your Clojure dependency for the project - how will depend on whether you are using project.clj, pom.xml, or deps.edn


I use deps.edn, so I just add org.clojure/clojure {:mvn/version "1.10.3"} to my :deps ? Doesn鈥檛 this bother someone who want鈥檚 to use my library with Clojure 1.11.1?


It shouldn't


Hmm, ok 馃槃


But you can also put it in a dev alias for example

馃憣 1

Just make sure you tick that alias in the deps tool window in cursive

馃憤 1

Hmm, would it be possible that when a file reload is triggered that if parinfer is enabled it's temporarily disabled or something? I find when >>>>>>> from git conflicts occur, recovering what your s-expressions used to look like is sometimes really problematic?


Actually made an issue about this a while ago 馃檪

馃挴 1