[Tutor] terminology question

Dick Moores rdm at rcblue.com
Tue Aug 2 07:28:10 CEST 2005


jfouhy at paradise.net.nz wrote at 21:52 8/1/2005:
>Quoting Dick Moores <rdm at rcblue.com>:
>
> > Why are list comprehensions called that?
>
>Because that's what they're called in Haskell, I guess..

This Haskell, I suppose?
<http://en.wikipedia.org/wiki/Haskell_programming_language>

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

And I was a math major..

Thanks!

Dick



More information about the Tutor mailing list