[mercury-users] tuple syntax

Thomas Conway conway at cs.mu.OZ.AU
Thu Nov 11 09:36:54 AEDT 1999


On Wed, Nov 10, 1999 at 11:31:27PM EST, Robert Ernst Johann JESCHOFNIK wrote:
> On Wed, 10 Nov 1999, Peter Schachte wrote:
> 
> > On Wed, Nov 10, 1999 at 10:27:52PM +1100, Peter Schachte wrote:
> > > (This would be a lot nicer if Mercury had a decent syntax for
> > > tuples, but let's just worry about one syntax hack at a time.)
> > 
> > Hmmm.  Here's an idea for a better tuple syntax.  Is there something
> > wrong with this?  If not, it might be a nice easy addition to the
> > standard library somewhere.
> > 
> > 	 :- type (A,B) ---> (A,B).
> 
> 
> I asked DJ this exact question a few weeks ago. I cannot remember exactly
> what he said, but I remember that there was a reason pair was defined like
> it is. I think it may have been a precedence problem. DJ?

Mostly hysterical raisins, I think.

-- 
 Thomas Conway )O+     Every sword has two edges.
     Mercurian            <conway at cs.mu.oz.au>
--------------------------------------------------------------------------
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