mori icon indicating copy to clipboard operation
mori copied to clipboard

Feature Request: mapValues function for map-like objects

Open dan-mcdonald opened this issue 9 years ago • 1 comments

A function similar to scala's AbstractMap.mapValues would be useful, e.g.:

var m = mori.hashMap("foo", 1, "bar", 2);
mori.mapValues(mori.inc); // => {"foo" 2, "bar" 3}

dan-mcdonald avatar Jun 11 '15 15:06 dan-mcdonald

Mori is just an export of some functions from ClojureScript core. Since ClojureScript doesn't have such function, it's unlikely that it will appear in mori.

sesm avatar Dec 15 '15 01:12 sesm