[mercury-users] semidet vs unique updating

Michael Day mikeday at bigpond.net.au
Wed Oct 17 15:19:56 AEST 2001


> If this is a crucial performance problem for your application, you
> could implement something using impure code and give it a pure
> interface.

Which pure interface? That's really my question. It doesn't seem possible
to do conditional, semidet updates to a unique structure even though you
can guarantee that the structure will not be modified if the predicate
fails.

Michael

--------------------------------------------------------------------------
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