home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / prolog / 1546 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  865 b 

  1. Path: sparky!uunet!mcsun!uknet!edcastle!aifh!aifh!vagelis
  2. From: vagelis@aifh.ed.ac.uk (Vagelis Vassiliadis)
  3. Newsgroups: comp.lang.prolog
  4. Subject: SICStus prolog "call_residue/2"
  5. Message-ID: <1992Aug18.012840@aifh.ed.ac.uk>
  6. Date: 18 Aug 92 00:28:39 GMT
  7. Sender: news@aifh.ed.ac.uk (Network News Administrator)
  8. Reply-To: vagelis@aifh.ed.ac.uk (Vagelis Vassiliadis)
  9. Organization: Dept of AI, University of Edinburgh, Scotland
  10. Lines: 12
  11.  
  12. I'm working with SICStus v2.1 and use the "call_residue/2" 
  13. coroutining primitive. This primitive though, has an unpredictable 
  14. behaviour in that it returns frozen goals in an order completely random 
  15. and irrelevant to the order that these goals froze.
  16.  
  17. Could anyone explain how this primitive sorts the frozen goals.
  18. (if it does sort them ).
  19.  
  20. ----------------------
  21. Vassiliadis Vagelis
  22. vagelis@aisb.ed.ac.uk
  23. ----------------------
  24.