[m-dev.] for review: tuples [1]

Michael Day mcda at students.cs.mu.oz.au
Tue Aug 1 23:15:04 AEST 2000


> Any plans to deprecate the pair/2 type?

Could perhaps someone skilled in the use of tuples in functional languages
(Ralph?) say a few words regarding when it is more appropriate to use
tuples and when to use pair or other similar types? Is it of particular
use for writing higher order code? I'm a little lost regarding when to use
lists, when to use terms and when to use tuples.

And... can a zero-arity tuple replace the unit type? For completeness? :)

Michael


--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list