🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #650

Re: SICStus Prolog singleton warnings slow down while consulting a file

#650
From: Anders Hallberg
Date: Tue, 18 Aug 1992 07:06
14 lines
1079 bytes
rah@ybrig.zurich.ibm.com (Ralf Hauser) writes:


>Does anybody know, how to suppress these warnings or to
>maintain the same expressivity of code without creating those
>"singleton variables".

I would not advice turning those warnings off.  They can save you the
effort of trying to locate subtle bugs caused by miss-spelled variable
names.  I usually precede each predicate with a comment showing the
head of the predicate with full variable names and then use _ in the
clauses to avoid loads of warnings.

	/Anders Hallberg
Technical Details
Message-ID: <1992Aug18.070600.25043@eua.ericsson.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!etxaha
References: <1992Aug17.172126.19111@watson.ibm.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.prolog
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!etxaha
From: etxaha@eua.ericsson.se (Anders Hallberg)
Subject: Re: SICStus Prolog singleton warnings slow down while consulting a file
Message-ID: <1992Aug18.070600.25043@eua.ericsson.se>
Keywords: singleton
Sender: news@eua.ericsson.se
Nntp-Posting-Host: euas20.eua.ericsson.se
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
References: <1992Aug17.172126.19111@watson.ibm.com>
Date: Tue, 18 Aug 1992 07:06:00 GMT
Lines: 14