File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ The fundamental operations on maps are similar to those on sets. They are summar
2929| ` ms contains k ` | Tests whether ` ms ` contains a mapping for key ` k ` .|
3030| ` ms isDefinedAt k ` | Same as ` contains ` . |
3131| ** Additions and Updates:** | |
32+ | ` ms + (k -> v) ` | The map containing all mappings of ` ms ` as well as the mapping ` k -> v ` from key ` k ` to value ` v ` .|
33+ | ` ms + (k -> v, l -> w) ` | The map containing all mappings of ` ms ` as well as the given key/value pairs.|
34+ | ` ms ++ kvs ` | The map containing all mappings of ` ms ` as well as all key/value pairs of ` kvs ` .|
35+ | ` ms updated (k, v) ` | Same as ` ms + (k -> v) ` .|
36+ | ** Removals:** | |
3237| ` ms - k ` | The map containing all mappings of ` ms ` except for any mapping of key ` k ` .|
3338| ` ms - (k, 1, m) ` | The map containing all mappings of ` ms ` except for any mapping with the given keys.|
3439| ` ms -- ks ` | The map containing all mappings of ` ms ` except for any mapping with a key in ` ks ` .|
You can’t perform that action at this time.
0 commit comments