Confusing warning

"Petr Hluzin" <[email protected]>
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.