Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7872

Re: Fun and games with lambda

References <4dfb7c6d$0$30002$c3e8da3$5496439d@news.astraweb.com>
Date 2011-06-18 10:40 +1000
Subject Re: Fun and games with lambda
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.99.1308357640.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Jun 18, 2011 at 2:10 AM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> If you've ever wondered what lambda and reduce are good for, run this one-
> liner and wonder no more...
>
> (Be patient, it may take a few seconds to return.)

I have a decent CPU so it's not too bad. And the precision produced is
noteworthy. However, I have no idea how it does its work, so I'm just
in awe of the quality of the code.

And you can read that last remark either way.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Fun and games with lambda Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-17 16:10 +0000
  Re: Fun and games with lambda Wolfgang Rohdewald <wolfgang@rohdewald.de> - 2011-06-17 18:56 +0200
  Re: Fun and games with lambda Ian Kelly <ian.g.kelly@gmail.com> - 2011-06-17 11:07 -0600
  Re: Fun and games with lambda Mark Dickinson <mdickinson@enthought.com> - 2011-06-17 12:02 -0700
  Re: Fun and games with lambda Chris Angelico <rosuav@gmail.com> - 2011-06-18 10:40 +1000

csiph-web