(->?LazyMap m)
Behaves the same as ->LazyMap, except that if m is already a lazy map, returns it directly. This prevents the creation of a lazy map wrapping another lazy map, which (while not terribly wrong) is not the best.
Behaves the same as ->LazyMap, except that if m is already a lazy map, returns it directly. This prevents the creation of a lazy map wrapping another lazy map, which (while not terribly wrong) is not the best.
(force-map m)
Realizes all the values in a lazy map, returning a regular map.
Realizes all the values in a lazy map, returning a regular map.
(lazy-map-dispatch obj)
This is a dispatch function for clojure.pprint that prints lazy maps without forcing them.
This is a dispatch function for clojure.pprint that prints lazy maps without forcing them.
(LazyMap->printable m)
Converts a lazy map to a regular map that has placeholder text for the unrealized values. No matter what is done to the returned map, the original map will not be forced.
Converts a lazy map to a regular map that has placeholder text for the unrealized values. No matter what is done to the returned map, the original map will not be forced.
(map-keys f map)
Applies f to each of the keys of a map, returning a new map.
Applies f to each of the keys of a map, returning a new map.
(map-vals f map)
Applies f to each of the values of a map, returning a new map.
Applies f to each of the values of a map, returning a new map.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close