[mercury-users] A subtlety about DCG variable threading

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Apr 26 20:42:46 AEST 2001


On 26-Apr-2001, Terrence Brannon <princepawn at earthlink.net> wrote:
> It was my understanding that the only terms in a clause which would
> not receive DCG threading were those that were escaped with { }.

The only _goals_, yes.

> Thus in run/3 below, I am confused as to why process/3 is not
> process/5

Your confusion seems to be based on a false assumption --
the call to `process' there is indeed a call to process/5.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list