🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #647

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

#647
From: Mats Carlsson
Date: Mon, 17 Aug 1992 22:17
20 lines
1122 bytes
In article <1992Aug17.172126.19111@watson.ibm.com> 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".

To suppress the warnings, simply do:

| ?- prolog_flag(single_var_warnings, _, off).

Regards, Mats.

PS.  Your return address, "rah@ybrig.zurich.ibm.com", does not work.
DS.
--
Mats Carlsson
SICS, PO Box 1263, S-164 28  KISTA, Sweden    Internet: matsc@sics.se
Tel: +46 8 7521543     Ttx: 812 6154 7010 SICS     Fax: +46 8 7517230
Technical Details
Message-ID: <MATSC.92Aug17231714@vishnu.sics.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!sics.se!matsc
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!matsc
From: matsc@sics.se (Mats Carlsson)
Subject: Re: SICStus Prolog singleton warnings slow down while consulting a file
In-Reply-To: rah@ybrig.zurich.ibm.com's message of Mon, 17 Aug 92 17:21:26 GMT
Message-ID: <MATSC.92Aug17231714@vishnu.sics.se>
Sender: news@sics.se
Organization: Swedish Institute of Computer Science, Kista
References: <1992Aug17.172126.19111@watson.ibm.com>
Date: Mon, 17 Aug 1992 22:17:14 GMT
Lines: 20