Navigation
Synopsis A list relation excluding tuples that contain certain element values.
Function
  1. lrel[&T,&T] carrierX (lrel[&T,&T] R, set[&T] S)
  2. lrel[&T,&T,&T] carrierX (lrel[&T,&T,&T] R, set[&T] S)
  3. lrel[&T,&T,&T,&T] carrierX (lrel[&T,&T,&T,&T] R, set[&T] S)
  4. lrel[&T,&T,&T,&T,&T] carrierX (lrel[&T,&T,&T,&T,&T] R, set[&T] S)
Usage import ListRelation;
Examples
rascal>import ListRelation;
ok
rascal>carrierX([<1,10>, <2,20>, <3,30>], {10, 1, 20});
lrel[int,int]: [<3,30>]

Questions
Question [1].
The type of carrierX([<0, 10>, <4, 13>, <6, 13>, <8, 18>, <2, 16>], {6, 9}) is

Question [2].
carrierX([<6, 13>, <1, 17>, <5, 12>], {7, 19, 4, 8, 17}) == 



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.