[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Apr 25 20:38:03 2002 
Subject:Weird poplog-Prolog behaviour.. 
From:Bill J Ellis 
Volume-ID:1020425.01 

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