[m-rev.] Add `:- mutable' declaration to the language.
Julien Fischer
juliensf at cs.mu.OZ.AU
Thu Sep 1 16:26:26 AEST 2005
On Thu, 1 Sep 2005, Ralph Becket wrote:
> Julien Fischer, Thursday, 1 September 2005:
> > On Thu, 1 Sep 2005, Ian MacLarty wrote:
> > > Can we have pure versions of get_x and set_x which take the I/O state?
> > >
> > It would mean that the module would have to import the io module. You
> > may not want to do that.
>
> Er, since they implicitly use `:- initialise', such modules do
> implicitly import the io module.
>
Couldn't we relax the rules for initialise delcarations in this case?
Julien.
--------------------------------------------------------------------------
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