[m-rev.] for review: bug fix for try_all/2

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Dec 14 15:52:38 AEDT 2004


On 08-Dec-2004, Ian MacLarty <maclarty at cs.mu.OZ.AU> wrote:
> 
> On another matter - why is the determinism of list.perm(in, out) 
> nondet?  Surely it should be multi?

Yes, I think it should be multi.  I think the answer to your first
question is probably that list.perm has been included in the Mercury
library since before Mercury supported the determinism 'multi'.
Because list__perm is recursive, the compiler didn't warn about it,
so I suppose no-one noticed up until now.

-- 
Fergus Henderson                    |  "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-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list