Welcome! Please see the About page for a little more info on how this works.

0 votes
ago in Clojure by
closed ago by

Similar to how get works with the 3rd not-found argument.

It already works in CLJS:

ClojureScript 1.12.116
cljs.user=> (#{:a} :b :c)
:c

In Clojure, it errors out:

Clojure 1.12.0
user=> (#{:a} :b :c)
Execution error (ArityException) at user/eval1 (REPL:1).
Wrong number of args (2) passed to: clojure.lang.PersistentHashSet
ago by
Ah, couldn't find it here or in Jira. It is indeed, thanks!
...