[m-dev.] Making goals in negated contexts with inst any args impure

Julien Fischer juliensf at cs.mu.OZ.AU
Wed Oct 12 17:17:13 AEST 2005


On Wed, 12 Oct 2005, Ralph Becket wrote:

> I want to make the compiler report an error if a program features an
> inst any variable in a goal in a negated context where that goal has
> not been declared impure.
>
> I think the right thing to do is to move purity analysis until after
> mode analysis and add the new checks to purity.m
>

Couldn't you just do this during mode checking?

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