home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / prolog / 1545 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.1 KB  |  33 lines

  1. Newsgroups: comp.lang.prolog
  2. Path: sparky!uunet!mcsun!sunic!sics.se!matsc
  3. From: matsc@sics.se (Mats Carlsson)
  4. Subject: Re: SICStus Prolog singleton warnings slow down while consulting a file
  5. In-Reply-To: rah@ybrig.zurich.ibm.com's message of Mon, 17 Aug 92 17:21:26 GMT
  6. Message-ID: <MATSC.92Aug17231714@vishnu.sics.se>
  7. Sender: news@sics.se
  8. Organization: Swedish Institute of Computer Science, Kista
  9. References: <1992Aug17.172126.19111@watson.ibm.com>
  10. Date: Mon, 17 Aug 1992 22:17:14 GMT
  11. Lines: 20
  12.  
  13. In article <1992Aug17.172126.19111@watson.ibm.com> rah@ybrig.zurich.ibm.com (Ralf Hauser) writes:
  14.  
  15.    [...]
  16.  
  17.    Does anybody know, how to suppress these warnings or to
  18.    maintain the same expressivity of code without creating those
  19.    "singleton variables".
  20.  
  21. To suppress the warnings, simply do:
  22.  
  23. | ?- prolog_flag(single_var_warnings, _, off).
  24.  
  25. Regards, Mats.
  26.  
  27. PS.  Your return address, "rah@ybrig.zurich.ibm.com", does not work.
  28. DS.
  29. --
  30. Mats Carlsson
  31. SICS, PO Box 1263, S-164 28  KISTA, Sweden    Internet: matsc@sics.se
  32. Tel: +46 8 7521543     Ttx: 812 6154 7010 SICS     Fax: +46 8 7517230
  33.