News for hackers. Stuff that matters.
Re:Anti-Patterns in Python Programming by Peaker on Wednesday July 09, 2014 @03:04PM (#8011596)
Python tuples are used in both ways.

Even in Haskell, though, people often write all kinds of type-class magic to allow "iterating" over a tuple. For example, a Binary instance over a tuple wants to call "put" on each element.

Haskell's (Oleg's) HList is basically a tuple with iteration/list-like operations.

There are no comments on this comment yet.