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

+1 vote
ago in Clojure by

Could keyword-identical? be added to Clojure, to ease writing portable cljc? keyword-identical? is apparently necessary in ClojureScript. This difference was related to some cljc discussed at https://app.slack.com/client/T03RZGPFR.

1 Answer

0 votes
ago by

Why not just existing identical?

ago by
See https://clojurians.slack.com/archives/C03S1L9DN/p1751181931160119 for the discussion and https://cljs.github.io/api/cljs.core/keyword-identicalQMARK -- it seems that just identical? is not sufficient due to ClojureScript's lack of interned keywords.
ago by
`keyword-identical?` is listed on the Differences page at https://clojurescript.org/about/differences#_data_structures
...