Here is quote from from Blackburn and Bos book "Representation and Inference for Natural Language".
:- op(900,yfx,>). % implication
:- op(850,yfx,v). % disjunction
:- op(800,yfx,&). % conjunction
:- op(750, fy,-). % negation
As expected negation have higher precedence then conjunction.
Now looking at SWI Prolog docs
\+
- negation as failure has precedence lower (900) than /\
conjunction (500).
Am I reading it correctly?
Is there another symbol for negation in SWI Prolog? I know there is not
, but it is only kept for backwards compatibility.
Addition Does ~
have a meaning in SWI Prolog?