pyrsistent
pyrsistent copied to clipboard
Allow pmap() and .update() to take an iterable of item pairs
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.