Fork me on GitHub
#cursive
<
2022-05-06
>
nottmey18:05:45

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

nottmey18:05:07

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?

imre18:05:54

It shouldn't

nottmey18:05:19

Hmm, ok 馃槃

imre18:05:45

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

馃憣 1
imre18:05:22

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

馃憤 1
folcon18:05:16

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?

grav18:05:45

Actually made an issue about this a while ago 馃檪 https://github.com/cursive-ide/cursive/issues/2505

馃挴 1