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

Questions
Question [1].
The type of carrierX({<7, 13>, <7, 17>}, {1, 14}) is

Question [2].
carrierX({<0, 17>, <3, 16>, <2, 10>, <5, 12>, <4, 14>}, {2, 13, 11, 16, 1}) == 



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.