Re: etymology of "list comprehension"?

2008-11-11 Thread David C. Ullrich
In article <[EMAIL PROTECTED]>, Paul Rubin wrote: > [EMAIL PROTECTED] writes: > > Ah, thanks... and does "comprehension" have any special computer > > science meaning? > > It is from mathematical set theory. If you write something like > >{ p | [some logical expr

Re: etymology of "list comprehension"?

2008-11-07 Thread mh
"Martin v. Lowis" <[EMAIL PROTECTED]> wrote: > The definition in logic, in turn, matches my understanding of the > English word "to comprehend": If I know all attributes, marks, > etc of an object, I understand it fully, i.e. I comprehend it. I think also that as was pointed out, "comprehension" m

Re: etymology of "list comprehension"?

2008-11-06 Thread Martin v. Löwis
[EMAIL PROTECTED] wrote: > Chris Rebert <[EMAIL PROTECTED]> wrote: >> the term >> "comprehension" for the concept was first used in the NPL programming >> language (Wikipedia again). > > Ah, thanks... and does "comprehension" have any special computer > science meaning? Paul already explained the

Re: etymology of "list comprehension"?

2008-11-06 Thread Terry Reedy
Paul Rubin wrote: [EMAIL PROTECTED] writes: Ah, thanks... and does "comprehension" have any special computer science meaning? It is from mathematical set theory. If you write something like { p | [some logical expression indicating that p is prime] } then that denotes a set (the set of a

Re: etymology of "list comprehension"?

2008-11-06 Thread James Harris
On 6 Nov, 22:13, [EMAIL PROTECTED] wrote: > Chris Rebert <[EMAIL PROTECTED]> wrote: > > the term > > "comprehension" for the concept was first used in the NPL programming > > language (Wikipedia again). > > Ah, thanks... and does "comprehension" have any special computer > science meaning? Good qu

Re: etymology of "list comprehension"?

2008-11-06 Thread Paul Rubin
[EMAIL PROTECTED] writes: > Ah, thanks... and does "comprehension" have any special computer > science meaning? It is from mathematical set theory. If you write something like { p | [some logical expression indicating that p is prime] } then that denotes a set (the set of all prime numbers).

Re: etymology of "list comprehension"?

2008-11-06 Thread Terry Reedy
[EMAIL PROTECTED] wrote: I googled and wiki'ed, but couldn't find a concise clear answer as to how python "list comprehensions" got their name. Who picked the name? What was the direct inspiration, another language? What language was the first to have such a construct? I get that it's based o

Re: etymology of "list comprehension"?

2008-11-06 Thread mh
Chris Rebert <[EMAIL PROTECTED]> wrote: > the term > "comprehension" for the concept was first used in the NPL programming > language (Wikipedia again). Ah, thanks... and does "comprehension" have any special computer science meaning? -- Mark Harrison Pixar Animation Studios -- http://mail.pytho

Re: etymology of "list comprehension"?

2008-11-06 Thread Chris Rebert
On Thu, Nov 6, 2008 at 1:19 PM, <[EMAIL PROTECTED]> wrote: > I googled and wiki'ed, but couldn't find a concise clear answer > as to how python "list comprehensions" got their name. > > Who picked the name? What was the direct inspiration, another > language? What language was the first to have

etymology of "list comprehension"?

2008-11-06 Thread mh
I googled and wiki'ed, but couldn't find a concise clear answer as to how python "list comprehensions" got their name. Who picked the name? What was the direct inspiration, another language? What language was the first to have such a construct? I get that it's based on set notation. Thanks! Ma