[m-dev.] Making goals in negated contexts with inst any args impure
Ralph Becket
rafe at cs.mu.OZ.AU
Wed Oct 12 17:40:36 AEST 2005
Julien Fischer, Wednesday, 12 October 2005:
>
> Couldn't you just do this during mode checking?
It's easier if I do it afterwards. A pure (solver) goal is still impure
if it appears in a negated context and has an inst any argument. Under
the proposed change we will require the programmer to explicitly mark
such goals as impure. I can't see any easy way to run purity checking
before mode analysis and not have it complain about pure goals of this
kind which have been properly marked as impure.
-- Ralph
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list