Hi.
I have encountered some intresting behaviour of
poplog-Prolog, while (trying to) port over a
Sicstus system.
An example is probally best. Start a normal poplog-prolog
session.
$prolog
And add some facts..
?- [user].
| dummy(x-2).
| dummy(x-1).
| dummy(x-(0)).
| dummy(0-x).
| dummy(x-0).
;;; PROLOG SYNTAX ERROR - OPERATOR, ',', OR ')' EXPECTED
;;; FOUND : 0
;;; READING: o ( x <<HERE>> 0
It seems that somthing-0 has a special significance?
Am i missing somthing obvious here?
Yours,
Bill J Ellis
|