This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-18
Channels
- # announcements (8)
- # aws (5)
- # babashka (69)
- # beginners (37)
- # calva (222)
- # cider (10)
- # clj-commons (8)
- # clj-kondo (69)
- # cljdoc (5)
- # clojure (62)
- # clojure-dev (23)
- # clojure-europe (37)
- # clojure-italy (2)
- # clojure-nl (6)
- # clojure-sg (6)
- # clojure-uk (5)
- # clojurescript (25)
- # clojureverse-ops (12)
- # conjure (1)
- # cursive (1)
- # fulcro (9)
- # gorilla (1)
- # graalvm (6)
- # graphql (1)
- # gratitude (1)
- # honeysql (7)
- # introduce-yourself (4)
- # jobs (1)
- # kaocha (9)
- # keyboards (4)
- # leiningen (8)
- # lsp (21)
- # malli (9)
- # music (3)
- # nextjournal (17)
- # nrepl (6)
- # off-topic (10)
- # pathom (12)
- # portal (25)
- # reagent (8)
- # releases (1)
- # specter (1)
- # xtdb (1)
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:
https://github.com/clojure/clojure/blob/b8132f92f3c3862aa6cdd8a72e4e74802a63f673/src/clj/clojure/core.clj#L1853
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.
don't think we're going to change that
Needs a catchier name than "Clojure 2" though. "Foreclojure" would be nice but the connotations are bad. "Enclojure"? 😉
Enclojure was the name of the Clojure NetBeans plugin, so that's been done :)
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]))
https://clojurians.slack.com/archives/C06E3HYPR/p1634582663153900?thread_ts=1634567860.152300&cid=C06E3HYPRHYPR Clojure 3 confirmed!
It was "Happy Clojure Day!" over the weekend, as I recall?
(yeah, October 16th is Clojure's "birthday")
isn't that every day?
I'm thinking back to the 10th birthday cake at one of the conferences