Navigation
Synopsis Composition of two map values.
Syntax Exp1 o Exp2
Types
Exp1 Exp2 Exp1 o Exp2
map[T1, T2] map[T2, T3] map[T1, T3]
Description Returns the composition of two maps.
Examples
rascal>import Map;
ok
rascal>("one" : 1, "two" : 2) o (1 : 10, 2 : 20);
map[str, int]: ("one":10,"two":20)
Pitfalls We use the letter o as operator and this may conflict other defined names.
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.