![]() |
|
Navigation |
Synopsis Map with certain keys excluded.
Function
map[&K, &V] domainX(map[&K, &V] M, set[&K] S)
Usage
import Map;
Description Return the map
M restricted to pairs with key not in S .
Examples
rascal>import Map; ok rascal>domainX(("apple": 1, "pear": 2, "orange": 3), {"apple", "pear"}); map[str, int]: ("orange":3) ![]() |