(map-kv f coll)Maps a function over the key/value pairs of an associate collection. Expects a function that takes two arguments, the key and value, and returns the new key and value as a collection of two elements.
Maps a function over the key/value pairs of an associate collection. Expects a function that takes two arguments, the key and value, and returns the new key and value as a collection of two elements.
(map-vals f coll)Maps a function over the values of an associative collection.
Maps a function over the values of an associative collection.
(when-joda-time-loaded & body)Execute the body when Joda-Time classes are found on the classpath.
Take care - when AOT-compiling code using this macro, the Joda-Time classes must be on the classpath at compile time!
Execute the `body` when Joda-Time classes are found on the classpath. Take care - when AOT-compiling code using this macro, the Joda-Time classes must be on the classpath at compile time!
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |