![]() |
|
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) ![]() |