home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.prolog
- Path: 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
-
- 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
-