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


Groups > comp.lang.python > #78624

Re: How to show a dictionary sorted on a value within its data?

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: How to show a dictionary sorted on a value within its data?
Date 2014-10-02 19:36 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <m0k9g6$5at$1@reader1.panix.com> (permalink)
References (3 earlier) <m0gnj8$6f2$1@ger.gmane.org> <mailman.14539.1412225868.18130.python-list@python.org> <h5jvfb-2cn.ln1@chris.zbmc.eu> <m0jm43$pee$1@reader1.panix.com> <gcb0gb-d2u.ln1@chris.zbmc.eu>

Show all headers | View raw


On 2014-10-02, cl@isbd.net <cl@isbd.net> wrote:
> Grant Edwards <invalid@invalid.invalid> wrote:
>> On 2014-10-02, cl@isbd.net <cl@isbd.net> wrote:
>>
>> > It throws me because 'lambda' simply has no meaning whatsoever for me,
>> > i.e. it's just a greek letter.
>> >
>> > So from my point of view it's like seeing 'epsilon' stuck in the
>> > middle of some code. 
>> >
>> > It's not as if I'm new to programming either, I've been writing
>> > software professionally since the early 1970s, now retired.
>> 
>> The use of "lamba" as a keyword to define an anonymous function is
>> borrowed from Lisp which got it from Lambda calculus.
>> 
>> http://en.wikipedia.org/wiki/Lambda_calculus
>
> Ah, so at least there is a reason for it, I'm far from being a
> mathematician though so it's not particularly obvious (for me
> anyway).

We EE types did get complex number notation using "j" which the
mathematicians find not particularly obvious.

-- 
Grant Edwards               grant.b.edwards        Yow! It's a hole all the
                                  at               way to downtown Burbank!
                              gmail.com            

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


Thread

How to show a dictionary sorted on a value within its data? cl@isbd.net - 2014-10-01 10:58 +0100
  Re: How to show a dictionary sorted on a value within its data? Peter Otten <__peter__@web.de> - 2014-10-01 12:24 +0200
    Re: How to show a dictionary sorted on a value within its data? cl@isbd.net - 2014-10-01 11:45 +0100
      Re: How to show a dictionary sorted on a value within its data? Joel Goldstick <joel.goldstick@gmail.com> - 2014-10-01 06:56 -0400
        Re: How to show a dictionary sorted on a value within its data? cl@isbd.net - 2014-10-01 13:16 +0100
      Re: How to show a dictionary sorted on a value within its data? Peter Otten <__peter__@web.de> - 2014-10-01 13:12 +0200
      Re: How to show a dictionary sorted on a value within its data? Travis Griggs <travisgriggs@gmail.com> - 2014-10-01 21:57 -0700
        Re: How to show a dictionary sorted on a value within its data? cl@isbd.net - 2014-10-02 10:40 +0100
          Re: How to show a dictionary sorted on a value within its data? Marko Rauhamaa <marko@pacujo.net> - 2014-10-02 14:17 +0300
            Re: How to show a dictionary sorted on a value within its data? Rustom Mody <rustompmody@gmail.com> - 2014-10-02 10:46 -0700
          Re: How to show a dictionary sorted on a value within its data? Grant Edwards <invalid@invalid.invalid> - 2014-10-02 14:05 +0000
            Re: How to show a dictionary sorted on a value within its data? cl@isbd.net - 2014-10-02 17:33 +0100
              Re: How to show a dictionary sorted on a value within its data? Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-02 13:15 -0600
              Re: How to show a dictionary sorted on a value within its data? Grant Edwards <invalid@invalid.invalid> - 2014-10-02 19:36 +0000
              Re: How to show a dictionary sorted on a value within its data? Dan Stromberg <drsalists@gmail.com> - 2014-10-02 13:06 -0700
                Re: How to show a dictionary sorted on a value within its data? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-03 09:16 +1000
                Re: How to show a dictionary sorted on a value within its data? Chris Angelico <rosuav@gmail.com> - 2014-10-03 12:44 +1000
                Re: How to show a dictionary sorted on a value within its data? Steven D'Aprano <steve@pearwood.info> - 2014-10-03 07:55 +0000
                Re: How to show a dictionary sorted on a value within its data? Chris Angelico <rosuav@gmail.com> - 2014-10-03 18:09 +1000
              Re: How to show a dictionary sorted on a value within its data? Chris Angelico <rosuav@gmail.com> - 2014-10-03 07:01 +1000
  Re: How to show a dictionary sorted on a value within its data? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-01 11:27 +0100
  Re: How to show a dictionary sorted on a value within its data? Joel Goldstick <joel.goldstick@gmail.com> - 2014-10-01 06:37 -0400
    Re: How to show a dictionary sorted on a value within its data? cl@isbd.net - 2014-10-01 13:19 +0100

csiph-web