[mercury-users] Syntactic sugar for higher order types and mo des

Ralph Becket rbeck at microsoft.com
Thu Jul 27 01:08:34 AEST 2000


> From: Fergus Henderson [mailto:fjh at cs.mu.OZ.AU]
> On 25-Jul-2000, Ralph Becket <rbeck at microsoft.com> wrote:
> > Precedences could be changed to do away with the need for unwanted
> > parentheses.
> 
> This is actually easier said than done.  The difficulty is that the
> operator-precedence term parser doesn't know when `->' is part of an
> if-then-else and when it is part of a mode definition, so `->' needs
> to have the same precedence for both usages.

Yes.  Personally, I don't mind adding a couple of extra parentheses,
esp. if I'm going to save more verbiage elsewhere.
--------------------------------------------------------------------------
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