Quoting Dick Moores <[EMAIL PROTECTED]>:

> Why are list comprehensions called that?

Because that's what they're called in Haskell, I guess..

It's historical, based on the term "set comprehension" from mathematics, also
known as "set builder notation": http://en.wikipedia.org/wiki/Set_comprehension

-- 
John.
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to