Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.math

Topic: PROLOG does SO have NOT() !!
Replies: 3   Last Post: Nov 20, 2012 3:33 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Frederick Williams

Posts: 2,164
Registered: 10/4/10
Re: PROLOG does SO have NOT() !!
Posted: Nov 20, 2012 8:52 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Graham Cooper wrote:
> Exactly the same way we use not().
> Failure to return a result can be programmed for ANY PREDICATE
> [...]
> You can PROGRAM the predicate NOT(...)
> for any predicate with a FINITE SET OF ARGUMENT VALUES!

Is this "negation as failure"?

When a true genius appears in the world, you may know him by
this sign, that the dunces are all in confederacy against him.
Jonathan Swift: Thoughts on Various Subjects, Moral and Diverting

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.