[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to read a line of text?
From: |
Vic Bancroft |
Subject: |
Re: How to read a line of text? |
Date: |
Thu, 8 Jan 2004 20:30:45 -0500 (EST) |
On Thu, 8 Jan 2004, Ron Stodden wrote:
> My statement was that gprolog is missing a not(<predicate>) operator.
> Pretty
> basic stuff, and easier to type than \+.
Since the negation operator defined in the ISO prolog standard is \+ that
might be the best reference for the behavior. Looking back over the mail
logs, Daniel suggests that the following definition for not/1,
not(Goal) :- \+ Goal.
One could use op/3 if using the parens is inconvenient. What priority are
you accustomed to having for that operator ?
There were a few folks pulling together some predicates that were handy
for porting programs from other varients of prolog. Perhaps that effort
could be revisited.
more,
l8r,
v
--
No bugs were harmed in the development of this software.
http://elvis.dlogic.org/~bancroft/tiki
- How to read a line of text?, Ron Stodden, 2004/01/03
- Re: How to read a line of text?, Vic Bancroft, 2004/01/07
- Re: How to read a line of text?, Vic Bancroft, 2004/01/07
- Re: How to read a line of text?, Ron Stodden, 2004/01/07
- Re: How to read a line of text?, Alexander V. Diemand, 2004/01/08
- Re: How to read a line of text?, Ron Stodden, 2004/01/07
- Re: How to read a line of text?, Ron Stodden, 2004/01/07
- Re: How to read a line of text?, Vic Bancroft, 2004/01/07
- Re: How to read a line of text?, Ron Stodden, 2004/01/08
- Re: How to read a line of text?,
Vic Bancroft <=
- Re: How to read a line of text?, Ron Stodden, 2004/01/08
- Re: How to read a line of text?, Fergus Henderson, 2004/01/09
- Re: How to read a line of text?, Ron Stodden, 2004/01/09
- Re: How to read a line of text?, Fergus Henderson, 2004/01/11
- Re: How to read a line of text?, Salvador Abreu, 2004/01/09