[Top][All Lists]

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

Confusing warning

From: Petr Hluzin
Subject: Confusing warning
Date: Sun, 11 May 2003 17:42:22 +0200 (CEST)

Message  "warning: discontiguous predicate foo/2 - clause ignored"
 is confusing. 

I find it confusing because:
- non-english native speaker doesn't know meaning of word
"discontiguous". - mixing clauses does not affect declarative nor
semantic correctness (as long as all foo/2 are in correct order).

I suggest this one: "warning: clauses of foo/2 should be
together". (I think it complies with GNU standarts too.)

( Story: I copied & pasted my source from book. It was the first
program containing >=10 lines. I figured out what the warning
ment only after consulting my source in SWI-Prolog. SWI's message
was much more cleaner ("Clauses of foo/2 are not together in the
source file"). )  
(I haven't any practical experience until yesterday but I have
passed theoretical Prolog course.)

I am sorry for any inconvenience caused by my poor english.

Petr Hluzin

Ziskejte kvalitu, kterou si zasluhujete. Za minimalni mesicni
poplatek vam nabizime Antivir, Antispam nebo dalsi kapacitu pro
vas Mailbox. Vice na: http://sluzby.volny.cz/product/postpaid/

reply via email to

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