Synopsis The range (set of values that correspond to its keys) of a map.
Function set[&V] range(map[&K, &V] M)
Usage import Map;
Description Returns the range (set of values) of map M
.
Examples rascal>import Map;
ok
rascal>range(("apple": 1, "pear": 2));
set[int]: {1,2}