Liking cljdoc? Tell your friends :D

ageneau.utils.multimap

A multimap is a map that permits multiple values for each key. In Clojure we can represent a multimap as a map with sets as values.

A multimap is a map that permits multiple values for each
key.  In Clojure we can represent a multimap as a map with sets as
values.
raw docstring

addclj/s

(add mm k v)
(add mm k v & kvs)

Adds key-value pairs the multimap.

Adds key-value pairs the multimap.
sourceraw docstring

delclj/s

(del mm k v)
(del mm k v & kvs)

Removes key-value pairs from the multimap.

Removes key-value pairs from the multimap.
sourceraw docstring

mm-invertclj/s

(mm-invert mm)

Invert the multimap.

Invert the multimap.
sourceraw docstring

mm-mergeclj/s

(mm-merge & mms)

Merges the multimaps, taking the union of values.

Merges the multimaps, taking the union of values.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close