🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #648

SICStus prolog "call_residue/2"

#648
From: Vagelis Vassiliadis
Date: Tue, 18 Aug 1992 00:28
12 lines
888 bytes
I'm working with SICStus v2.1 and use the "call_residue/2" 
coroutining primitive. This primitive though, has an unpredictable 
behaviour in that it returns frozen goals in an order completely random 
and irrelevant to the order that these goals froze.

Could anyone explain how this primitive sorts the frozen goals.
(if it does sort them ).

----------------------
Vassiliadis Vagelis
vagelis@aisb.ed.ac.uk
----------------------
Technical Details
Message-ID: <1992Aug18.012840@aifh.ed.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!edcastle!aifh!aifh!vagelis

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!edcastle!aifh!aifh!vagelis
From: vagelis@aifh.ed.ac.uk (Vagelis Vassiliadis)
Newsgroups: comp.lang.prolog
Subject: SICStus prolog "call_residue/2"
Message-ID: <1992Aug18.012840@aifh.ed.ac.uk>
Date: 18 Aug 92 00:28:39 GMT
Sender: news@aifh.ed.ac.uk (Network News Administrator)
Reply-To: vagelis@aifh.ed.ac.uk (Vagelis Vassiliadis)
Organization: Dept of AI, University of Edinburgh, Scotland
Lines: 12