Navigation
Synopsis Delete a key from a map.
Function map[&K,&V] delete(map[&K,&V] m, &K k)
Usage import Map;
Description Returns the map m minus the key k.
Examples
rascal>import Map;
ok
rascal>delete(("apple":1,"pear":2), "apple");
map[str, int]: ("pear":2)
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.