users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Existence error


From: Timo Karjalainen
Subject: Re: Existence error
Date: Tue, 16 Dec 2003 16:31:43 +0200
User-agent: Mutt/1.3.28i

On Mon, Dec 15, 2003 at 10:02:10PM +0100, Fredrik Ismyren wrote:
> ----
> my_max(X,Y,X) :- X<Y.
> my_max(X,Y,Y) :- X>=Y.
> ----
> 
> What am I doing wrong?

Implementing "min" instead of "max", it would seem :)

(Not intended as an insult but as a potentially helpful note.)


-- 
TOK




reply via email to

[Prev in Thread] Current Thread [Next in Thread]