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

  1. Newsgroups: comp.lang.prolog
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!watson!ybrig.zurich.ibm.com!rah
  3. From: rah@ybrig.zurich.ibm.com (Ralf Hauser)
  4. Subject: SICStus Prolog singleton warnings slow down while consulting a file
  5. Sender: @watson.ibm.com
  6. Message-ID: <1992Aug17.172126.19111@watson.ibm.com>
  7. Date: Mon, 17 Aug 92 17:21:26 GMT
  8. Reply-To: rah@ybrig.zurich.ibm.com (Ralf Hauser)
  9. Organization: IBM T.J. Watson Research Center
  10. Keywords: singleton
  11. Lines: 16
  12.  
  13.  
  14. While porting a big C-Prolog program to SICStus Prolog, I encounter
  15. the following problem:
  16.  
  17. To make the program readable, I gave a name to many variables which
  18. are essentially _ (don't care). When (re)consulting my program,
  19. every time many screens of such warnings are produced which
  20. slow down the testing and programming annoyingly.
  21.  
  22. Does anybody know, how to suppress these warnings or to
  23. maintain the same expressivity of code without creating those
  24. "singleton variables".
  25.  
  26. Thanks
  27.  
  28.     Ralf
  29.