![]() |
| ||||||
Navigation |
Synopsis Composition of two relation values.
Syntax
Exp1 o Exp2
Types
Description Returns the composition of two binary relations.
Examples
rascal>import Relation; ok rascal>{<1,10>, <2,20>, <3,15>} o {<10,100>, <20,200>}; rel[int,int]: { <2,200>, <1,100> }
Pitfalls We use the letter
o as operator and this may conflict other defined names.
Questions
Question [1].
![]() ![]()
Question [2].
![]() ![]() ![]() |