I´m new in Prolog learning and tried out a logical OR-operator for that context:
%a.
b.
foo:- a ; b.
I have commented a.
to try out the logical OR-Operator but it does not work. If you query with ?-foo.
you get an exception. Prolog only checks the first term but not the second. Can anyone help me please?
Best regards.