Fork me on GitHub
#clojure-dev
<
2022-12-13
>
mfikes12:12:46

Another example of the same undefined behaviour surrounding "undropping" (with 1.12.0-alpha1). Nothing to say other than "it's undefined":

user=> (drop 3 [0 1 2 3 4 5 6 7])
(3 4 5 6 7)
user=> (drop -2 *1)
(1 2 3 4 5 6 7)

3
imre14:12:28

Slightly reminiscent of an out-of-bounds read

souenzzo14:12:09

This is a potential OOM issue, right?

borkdude13:12:05

How thoughtful that JS even has a value to indicate undefined ;)

jpmonettas16:12:08

not sure if this is the channel but I see on tools.build github Readme this as the latest stable coordinates org.clojure/tools.build {:mvn/version "0.8.5"} but looking at maven central, 0.8.4 is the latest deployed

seancorfield17:12:07

#C02B5GHQWP4 is the best channel. Alex said it was just a snafu on the latest deployment and since there's not much new in 0.8.5, he didn't think it was worth doing a new deployment.

👍 1
seancorfield17:12:53

I think 0.8.4 is the first version that was published to Maven -- it's always been git only prior to that @U0739PUFQ

👍 1
jpmonettas17:12:24

I'm using tools.build in a library so was needing a mvn release since I need it to end up in the pom

Alex Miller (Clojure team)17:12:37

you can use 0.8.4 for now. I expect to do a 0.8.6 at some point in the next couple weeks

jpmonettas17:12:03

sure, 0.8.4 works fine for me