Max:

when is a 7-element tuple more useful than a record with named fields? For
> any purpose, not just comparison?

Is this “not just comparison” meant in an ironic way? Records with named
fields are not comparable, so if you were to suggest they should be used in
place of 7-tuples for comparison (among other things), that would seem odd.

In other words, maybe the attraction to use tuples instead of records
sometimes has to do with the fact that tuples are comparable while records
are not. And then, of course, after 6-tuples that stops to be true, because
even tuples are not comparable anymore from 7 onwards. Which can then lead
to disappointment. But saying “you shouldn’t even have used 6-tuples in the
first place” then is not appropriate, if using tuples was forced because
comparable was needed.
​

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to