This library provides efficient implementations for small maps and vectors, discussed more in this post. These implementations will eventually be merged into Clojure proper, but for now can be used by replacing vector
with clj-tuple/vector
and hash-map
with clj-tuple/hash-map
.
[clj-tuple "0.2.2]
clj-tuple> (vector 1 2 3)
[1 2 3]
clj-tuple> (hash-map 1 2 3 4)
{1 2, 3 4}
Copyright © 2015 Zachary Tellman
Distributed under the MIT License
Can you improve this documentation? These fine people already did:
Zach Tellman & Bryan HoyleEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close