[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Submission for slug-info
Path: potomac!daemon
From: John C. Akbari <AKBARI@CS.COLUMBIA.EDU>
Newsgroups: slug-info
Subject: operators in symbolics prolog
Message-ID: <141@potomac.dc.ads.com>
Date: 20 Jan 87 21:02:29 GMT
Sender: daemon@potomac.dc.ads.com
Lines: 41
having some difficulties with symbolics prolog. any hints on the foolowing?
/**********************************************************************
freely yanked from:
Bratko, Ivan. _PROLOG Programming for Artificial Intelligence._
Addison-Wesley, 1986.
**********************************************************************/
% p. 82
:- op(800, xfx, <===>).
:- op(700, xfy, v).
:- op(600, xfy, &).
:- op(500, fy, ~).
% ~(A & B) <===> ~A v ~B.
traps with a warning about changing a read-table binding, then says that
the predicate (:prolog-predicate <===> 2) is undefined.
---
running rel 6.1 on a 3670.
ad...THANKS...vance!
john c akbari
ARPANET & Internet akbari@CS.COLUMBIA.EDU
BITnet akbari%CS.COLUMBIA.EDU@WISCVM.WISC.EDU
uucp & usenet ...!seismo!columbia!cs!akbari
DECnet akbari@cs
PaperNet 380 riverside drive, no. 7d
new york, new york 10025 usa
SoundNet 212.662.2476
-------