[mercury-users] Field updates and state variables

Peter Hawkins hawkinsp at cs.stanford.edu
Mon Jul 3 14:06:20 AEST 2006


Hi...
On Jul 2, 2006, at 8:15 PM, Mark Brown wrote:

> On 02-Jul-2006, Peter Hawkins <hawkinsp at cs.stanford.edu> wrote:
>>
>> This hopefully is more obvious. I'm open to something like the elem
>> trick --- I just want a little less typing for updating objects
>> inside  state variables.
>
> See the module svmap in the standard library (and other modules  
> named sv*).
>
No, it doesn't do what I want. I'm trying to update a map *inside* a  
state variable, which is a record which contains many other maps and  
other things. The map itself isn't the state variable.

Cheers,
Peter

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list