|
| ||||||||||||||||||||||
| Navigation |
Synopsis The equivalence operator on Boolean values.
Syntax
Exp1 <==> Exp2
Types
Description The equivalence operator on Boolean values defined as follows:
<==> operator both operands have to be evaluated to determine the result.
Note that the <==> operator backtracks over its arguments until it finds an evaluation that is true, unless there is none. Variable bindings that are the effect of matching operators in its arguments are not visible outside the scope of the <==>.
Examples
rascal>import IO; ok rascal>false <==> false; bool: true rascal>false <==> true; bool: false |