Open w9 opened 3 years ago
Hmmm,
Looks like we could fix with this as the 3rd arg:
(hash-ordered-coll [key val])
???
Since __hash
is mutable and filled in later, nil
might work better as the 3rd arg.
Or even (first {k v})
might be a portable solution.
https://github.com/cloojure/tupelo/blob/63a34492bdb2d1f7a94050c653ee233ec1211380/src/cljc/tupelo/core.cljc#L1207
See https://cljs.github.io/api/cljs.core/MapEntry
Currently, the missing third argument gives a warning when compiled: