[mercury-users] memo and zero-arity functions

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Jul 31 14:54:09 AEST 2006


On Mon, 31 Jul 2006, Michael Day wrote:

>> That's odd, mutables *should* (and, last I checked, did) work with
>> intermodule optimization enabled.  I'll take a look at it.   Presumably
>> this was a constant mutable?
>
> Yes:
>
> :- mutable(root_style_var, style, make_root_style, ground,
>    [thread_safe, constant]).

I can't get constant mutables to misbehave with intermodule optimization.

The problem might be caused by a dodgy .opt file - try rebuilding so that all
the .opt files are regenerated (touch all the .m files is sufficient)

If that doesn't work then you'll need to extract a test case and send
it to us.

Julien.







--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list