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

Michael Day mcda at students.cs.mu.oz.au
Wed Jul 26 09:52:26 AEST 2000


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

Since Mercury has if-then-else keywords, isn't the -> ; syntax deprecated
and retained solely for Prolog compatibility? Will it be going away in the
future?

Michael

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