[m-rev.] Add `:- mutable' declaration to the language.

Ralph Becket rafe at cs.mu.OZ.AU
Thu Sep 1 16:25:02 AEST 2005


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.

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