Re: List Comprehensions (from Python)

2000-10-17 Thread Dan Schmidt
"raptor" <[EMAIL PROTECTED]> writes: | hi, | I haven't used Python... but last days I read some stuff, wanted to compare | both languages for myself and found something interesting. | They are proposing extentinon to Pyhon 2 It's already in Python 2.0. -- http://www.dfan.org

Re: List Comprehensions (from Python)

2000-10-08 Thread Jeremy Howard
Simon Cozens wrote: > On Sun, Oct 08, 2000 at 01:12:13PM +0100, raptor wrote: > > [ for in ] > > Can this be done easly at the moment OR via some of the new proposals ?!!!? > > map { expression } sequence > See also RFC 81.

Re: List Comprehensions (from Python)

2000-10-08 Thread Simon Cozens
On Sun, Oct 08, 2000 at 01:12:13PM +0100, raptor wrote: > [ for in ] > Can this be done easly at the moment OR via some of the new proposals ?!!!? map { expression } sequence -- I used to be disgusted, now I find I'm just amused. -- Elvis Costello

List Comprehensions (from Python)

2000-10-08 Thread raptor
hi, I haven't used Python... but last days I read some stuff, wanted to compare both languages for myself and found something interesting. They are proposing extentinon to Pyhon 2 (with their so called PEP documents, this also is good idea i.e. using current or some modified version of RFC's for f