[m-dev.] Reopened: state vars syntax sugar

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Jan 30 12:35:48 AEDT 2007


On Tue, 30 Jan 2007, Ben Schmidt wrote:

>>> To be constructive, here are the options:
>> ...
>>> !mytype::(in, out)
>>>   Ondrej, Julien, Ben, originally Ralph
>> 
>> Unless something special comes along, I'm happy to go along with this
>> one if that's the concensus.
>
> Though I'm also happy enough with this one, I also do like the idea of 
> keeping '!' in on the action as a 'state variable' marker. Perhaps the infix 
> operator idea is worth another airing?
>
> !mytype::in!out
>
> To me it seems clear that the second '!' means 'state variable' but doesn't 
> mean 'expands to twice as many arguments'.

I think it looks ugly.

Julien.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list