[m-rev.] State variable syntax transformation

Michael Day mikeday at bigpond.net.au
Tue Feb 26 16:59:09 AEDT 2002


> > 	( if we_have_a_problem(X) then throw_an_exception(X) )
> 
> Code like this should be avoided, since it will get entirely optimized away
> if you compile with `--no-fully-strict'.

This is something I've done several times for debugging purposes. I would 
have thought that the compiler won't optimise things away that have 
determinism erroneous?

Michael

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