[mercury-users] tuple comparison
Simon Taylor
stayl at cs.mu.OZ.AU
Mon Mar 10 20:00:25 AEDT 2003
On 10-Mar-2003, Michael Day <mikeday at yeslogic.com> wrote:
> Is a comparison of two tuples of ints always equivalent to comparing each
> int in turn, from left to right? ie:
>
> compare(<, {1,2,3}, {4,5,6}),
> compare(>, {4,5,6}, {4,4,4}),
> compare(=, {1,2,3}, {1,2,3})
Yes.
Simon.
--------------------------------------------------------------------------
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