Navigation
Synopsis The identity relation.
Function rel[&T, &T] ident (set[&T] S)
Usage import Relation;
Description The identity relation for set S.
Examples
rascal>import Relation;
ok
rascal>ident({"mon", "tue", "wed"});
rel[str,str]: {
  <"tue","tue">,
  <"mon","mon">,
  <"wed","wed">
}

Questions
Question [1].
The type of ident({17, 5, 14}) is

Question [2].
ident({15, 9, 5}) == 



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.