A .with(k, v) to create a new immutable map with an extra pair. --Max
On Jul 18, 2014, at 16:11, Michael Kay <m...@saxonica.com> wrote: >> >> Well, Remi had proposed raising the limit. Suppose we offered 7 key-value >> pairs instead of 5. Would you then complain about having to rewrite your >> code if you had to add an 8th entry to the map? > > Yes, I would. In fact, the higher you make the limit, the bigger the surprise > when I find I cannot extend my code in the natural way by adding one more > entry. > > Michael Kay > Saxonica