Fork me on GitHub

I guess there's a slim chance because it's probably not important but static analyzer tools like clj-kondo think that if-let as well as if-some accepts a varargs amount of arguments because that's how it's defined: But the core spec for it throws, so this case isn't probably reachable in newer versions of clojure. Perhaps one could think of removing that varargs argument, but I realize that core is extremely careful not to break anyone who might rely on this.


Of course clj-kondo can special-case this, no problem, just wanted to mention it.

Alex Miller (Clojure team)14:10:26

don't think we're going to change that


fair enough

Alex Miller (Clojure team)14:10:40

we'll save that for Clojure 2 :)

😆 5
🙀 5
Ben Sless16:10:31

This will end up being like Half Life 3


Needs a catchier name than "Clojure 2" though. "Foreclojure" would be nice but the connotations are bad. "Enclojure"? 😉

Alex Miller (Clojure team)18:10:31

Enclojure was the name of the Clojure NetBeans plugin, so that's been done :)


Oh, true. Not enough good words ending in -closure...


We can do a solution like add-doc-and-meta ?! Add something like this at the end of the core.clj

(alter-meta! #'if-some
  assoc :arglists '([bindings then] [bindings then else]))

Alex Miller (Clojure team)19:10:50

I don't think this is a problem that needs solving

🆗 1

it's going on the backlog troll

😁 2
Ben Sless06:10:35

We can avoid Python's migration efforts from 2 to 3 by just skipping 2!

💡 1

I can see Twitter now: Alex Miller confirms plans for Clojure 2!!!

😆 5

Will there be a party? Do I need to iron my pyjamas?

😆 1

It was "Happy Clojure Day!" over the weekend, as I recall?


(yeah, October 16th is Clojure's "birthday")


I'm thinking back to the 10th birthday cake at one of the conferences


Every day in Clojure is a party for sure.