pyrsistent icon indicating copy to clipboard operation
pyrsistent copied to clipboard

Allow pmap() and .update() to take an iterable of item pairs

Open gilch opened this issue 2 years ago • 0 comments

Python dicts can be constructed and updated this way. If one happens to have data in this form, one would currently have to go through a dict() first in order to construct or update a PMap.

These could perhaps both also take kwarg items, as Python's dict() and its .update() do, although that would preclude using kwargs for other purposes.

gilch avatar Apr 04 '23 04:04 gilch