I have noticed the use of the operator -> in some Prolog programs, but its meaning is unknown to me. This is an example of its use:
swish_add_user(User, Pass
It is the if/then/else in Prolog, for example
( X mod 2 =:= 0 -> writeln(even) ; writeln(odd)).