Navigation
Synopsis Composition of two list relation values.
Syntax Exp1 o Exp2
Types
Exp1 Exp2 Exp1 o Exp2
lrel[T1, T2] lrel[T2, T3] lrel[T1, T3]
Description Returns the composition of two binary list relations.
Examples
rascal>[<1,10>, <2,20>, <3,15>] o [<10,100>, <20,200>];
lrel[int,int]: [
  <1,100>,
  <2,200>
]
Pitfalls We use the letter o as operator and this may conflict other defined names.

Questions
Question [1].
The type of [<-5,16>,<2,3>,<-12,-18>] o [<16,1>,<3,11>,<-18,-4>] is

Question [2].
[<-2,12>,<-10,3>,<8,13>] o [<12,19>,<3,-2>,<13,11>] == 



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.