[Alex Martelli]
>> We stole list comprehensions and genexps from Haskell

[Greg Ewing]
> The idea predates Haskell, I think. I first saw it in
> Miranda, and it may have come from something even
> earlier -- SETL, maybe?

Haskell indeed took list comprehensions from SETL.  SETL in turn
adopted them from pre-computer standard notation in set theory,
related to the oddly named (but not universally so named) "axiom of
comprehension".

genexps were more directly taken from Icon (because of the "generator" part).
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to