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

Ralph Becket rafe at cs.mu.OZ.AU
Wed Oct 12 16:40:16 AEST 2005

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

Can anyone see a problem with this before I start hacking?

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