[mercury-users] tuple comparison

Michael Day mikeday at yeslogic.com
Mon Mar 10 11:36:16 AEDT 2003


Hi,

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

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