News for hackers. Stuff that matters.
Re:Python List Comprehensions Explained Visually by dragonwriter on Wednesday December 02, 2015 @07:06PM (#10666835)
> though lists aren't sets - maybe multisets or bags

arrays/lists (like maps/hashes, though with a more narrow restriction on the indices) are (or at least are isomorphic to) sets of pairs of (index, element).

They carry information about order which does not exist in multisets/bags.

There are no comments on this comment yet.