We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tupelo/src/cljc/tupelo/core.cljc
Line 1207 in 63a3449
See https://cljs.github.io/api/cljs.core/MapEntry
Currently, the missing third argument gives a warning when compiled:
------ WARNING #1 - :fn-arity -------------------------------------------------- Resource: tupelo/core.cljc:1200:12 Wrong number of args (2) passed to cljs.core.MapEntry --------------------------------------------------------------------------------
The text was updated successfully, but these errors were encountered:
Hmmm,
Looks like we could fix with this as the 3rd arg:
(hash-ordered-coll [key val])
???
Sorry, something went wrong.
Since __hash is mutable and filled in later, nil might work better as the 3rd arg.
__hash
nil
https://github.com/clojure/clojurescript/blob/r1.10.891-1-g64435188/src/main/cljs/cljs/core.cljs#L2388
Or even (first {k v}) might be a portable solution.
(first {k v})
No branches or pull requests
tupelo/src/cljc/tupelo/core.cljc
Line 1207 in 63a3449
See https://cljs.github.io/api/cljs.core/MapEntry
Currently, the missing third argument gives a warning when compiled:
The text was updated successfully, but these errors were encountered: