(and scheme lisp) x Python and modern langs [was Re: gossip, Guy Steel, Lojban, Racket]

Xah Lee xahlee at gmail.com
Mon Sep 27 23:39:56 CEST 2010


On Sep 27, 12:11 pm, namekuseijin <namekusei... at gmail.com> wrote:
> On 27 set, 16:06, Xah Lee <xah... at gmail.com> wrote:> 2010-09-27
>
> > > For instance, this is far more convenient:
> > > [x+1 for x in [1,2,3,4,5] if x%2==0]
> > > than this:
> > > map(lambda x:x+1,filter(lambda x:x%2==0,[1,2,3,4,5]))
>
> > How about this:
>
> [snip]
>
> how about this:  read before replying.

hum???

i read your post quite carefully, and rather thought i replied well.
In fact, i really wanted to tell you “read before replying” before but
refrained from making any of that expression.

here's 2 previous posts about list compre.
http://groups.google.com/group/comp.lang.lisp/msg/145f6ecf29ebbdaf
http://groups.google.com/group/comp.lang.lisp/msg/62ca84062c9fcdca

 Xah



More information about the Python-list mailing list