home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.prolog
- Path: sparky!uunet!mcsun!inesc.inesc.pt!dec4pt.puug.pt!unl!unl!px
- From: px@fct.unl.pt (Joaquim Baptista [pxQuim])
- 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: <PX.92Aug19182127@tche.fct.unl.pt>
- Sender: news@fct.unl.pt (USENET News System)
- Organization: Universidade Nova de Lisboa -- Lisbon, Portugal
- References: <1992Aug17.172126.19111@watson.ibm.com>
- Date: Wed, 19 Aug 1992 18:21:27 GMT
- Lines: 21
-
- In article <1992Aug17.172126.19111@watson.ibm.com>
- rah@ybrig.zurich.ibm.com (Ralf Hauser) writes:
-
- To make the program readable, I gave a name to many variables which
- are essentially _ (don't care). When (re)consulting my program,
- every time many screens of such warnings are produced which
- slow down the testing and programming annoyingly.
-
- Does anybody know, how to suppress these warnings or to
- maintain the same expressivity of code without creating those
- "singleton variables".
-
- In many Prologs, variables starting with _ are taken to be don't care.
- I often used names such as _List, which mark the variable as don't
- care but still identify its meaning.
- ____
- Joaquim Baptista, aka pxQuim
-
- Email: px@fct.unl.pt Voice: +351-1-295 3220 Fax: +351-1-295 5641
- Snail: Dept Informatica, Universidade Nova de Lisboa
- P-2825 Monte de Caparica, Portugal
-