Navigation
Synopsis Map with certain values in (key,value) pairs excluded.
Function map[&K, &V] rangeX(map[&K, &V] M, set[&V] S)
Usage import Map;
Description Returns the map restricted to pairs with values not in S.
Examples
rascal>import Map;
ok
rascal>rangeX(("apple": 1, "pear": 2, "orange": 3), {2, 3});
map[str, int]: ("apple":1)
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.