[mercury-users] memo and zero-arity functions
Michael Day
mikeday at bigpond.net.au
Mon Jul 31 09:33:27 AEST 2006
Hi Julian,
> I would suggest using a constant mutable rather than memoization in this
> situation. (See section 9.6 of the reference manual.)
Yes, that would be nice, however it doesn't seem to compile when
intermodule optimisation is enabled:
Mercury/asm_fast.gc/i686-pc-linux-gnu/Mercury/opts/css.style.opt: In function `engine_module20':
Mercury/asm_fast.gc/i686-pc-linux-gnu/Mercury/opts/css.style.opt:391: error: `css__style__mutable_variable_root_style_var' undeclared (first use
in this function)
Cheers,
Michael
--
Print XML with Prince!
http://www.princexml.com
--------------------------------------------------------------------------
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