[m-dev.] special module initialisation code

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Apr 12 14:32:17 AEST 2000


On 04-Apr-2000, David Overton <dmo at cs.mu.OZ.AU> wrote:
> Peter: AFAICT after looking through all the macro definitions, the
> first time initRep() is called it just sets a whole lot of static
> variables to 0.  Since these variables should be automatically
> initialised to zero anyway, is there any reason why the initial call
> to initRep() is needed?

Since the answer to that turned out to be no, I guess that solves your
problem.  So I suggest that we apply a lazy evaluation approach to the
proposed support for special module initialisation code, i.e. we wait
until someone really needs it.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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