ClojureDocs

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

Search results for query: map | reduce

11 to 20 of 31 results. prev page | next page

  • map->Method

    clojure.reflect

    • (map->Method m__8001__auto__)

    Factory function for class clojure.reflect.Method, taking a map of keywords to field values.

  • map->Field

    clojure.reflect

    • (map->Field m__8001__auto__)

    Factory function for class clojure.reflect.Field, taking a map of keywords to field values.

  • map-invert

    clojure.set

    • (map-invert m)

    Returns the map with the vals mapped to the keys.

    3 examples
  • reduce-kv

    clojure.core

    • (reduce-kv f init coll)

    Reduces an associative collection. f should be a function of 3 arguments. Returns the result of applying f to init, the first key and the first value in coll, then applying f to that result and the 2nd key and value, etc. If coll contains no entries, returns init and f is not called. Note th...

    10 examples · See also: clojure.core/reduce, clojure.core/reduced
  • map

    clojure.core

    • (map f)
    • (map f coll)
    • (map f c1 c2)
    • (map f c1 c2 c3)
    • (map f c1 c2 c3 & colls)

    Returns a lazy sequence consisting of the result of applying f to the set of first items of each coll, followed by applying f to the set of second items in each coll, until any one of the colls is exhausted. Any remaining items in other colls are ignored. Function f should accept number-of-...

  • map

    clojure.core.async

    • (map f chs)
    • (map f chs buf-or-n)

    Takes a function and a collection of source channels, and returns a channel which contains the values produced by applying f to the set of first items taken from each source channel, followed by applying f to the set of second items from each channel, until any one of the channels is closed,...

    1 example
  • map

    clojure.core.reducers

    • (map f)
    • (map f coll)

    Applies f to every value in the reduction of coll. Foldable.

    0 examples · See also: clojure.core.reducers/mapcat
  • map->PMap

    clojure.core.logic

    • (map->PMap m__8001__auto__)

    Factory function for class clojure.core.logic.PMap, taking a map of keywords to field values.

    0 examples
  • map-of

    clojure.spec.alpha

    • (map-of kpred vpred & opts)

    Returns a spec for a map whose keys satisfy kpred and vals satisfy vpred. Unlike 'every-kv', map-of will exhaustively conform every value. Same options as 'every', :kind defaults to map?, with the addition of: :conform-keys - conform keys as well as values (default false) See also - eve...

  • array-map

    clojure.core

    • (array-map)
    • (array-map & keyvals)

    Constructs an array-map. If any keys are equal, they are handled as if by repeated uses of assoc.