Lambda

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • e

    #1

    Lambda

    Question: WHAT IS LAMBDA? I can't figure out what it does from any
    documentation i've found anywhere. i doubt i need it but i still want to
    know what the heck it is/does/fixes/whatever!


  • Alan McIntyre

    #2
    Re: Lambda

    e wrote:[color=blue]
    > Question: WHAT IS LAMBDA? I can't figure out what it does from any
    > documentation i've found anywhere. i doubt i need it but i still want to
    > know what the heck it is/does/fixes/whatever![/color]

    Here's something:



    Hope this helps,
    Alan McIntyre
    ESRG LLC

    Comment

    • Tim Leslie

      #3
      Re: Lambda

      Short answer:

      lambda is a python keyword which allows you to create anonymous
      functions which may be considered a useful thing to have in certain
      cases*.

      Long answer:

      To be provided by someone else who isn't meant to be working right now.

      Tim

      * There is much debate as to just how useful lambda functions are and
      they are likely to be removed from the language in the distant futute
      (python 3)


      On Tue, 8 Feb 2005 17:43:32 -0800, e <e@e.e> wrote:[color=blue]
      > Question: WHAT IS LAMBDA? I can't figure out what it does from any
      > documentation i've found anywhere. i doubt i need it but i still want to
      > know what the heck it is/does/fixes/whatever!
      >
      >
      > --
      > http://mail.python.org/mailman/listinfo/python-list
      >[/color]

      Comment

      • bruno modulix

        #4
        Re: Lambda

        e wrote:[color=blue]
        > Question: WHAT IS LAMBDA?[/color]

        No need to scream, we here you quite well.
        [color=blue]
        > I can't figure out what it does from any
        > documentation i've found anywhere.[/color]

        Then I doubt you really did search.

        [color=blue]
        > i doubt i need it[/color]

        Why ?
        [color=blue]
        > but i still want to
        > know what the heck it is/does/fixes/whatever![/color]

        lambda is a keyword that is used to create anonymous functions. This is
        pretty handy for simple callbacks.

        --
        bruno desthuilliers
        ruby -e "print 'onurb@xiludom. gro'.split('@') .collect{|p|
        p.split('.').co llect{|w| w.reverse}.join ('.')}.join('@' )"
        --

        Comment

        • Cameron Laird

          #5
          Re: Lambda

          In article <mailman.2226.1 107914023.22381 .python-list@python.org >,
          Tim Leslie <tim.leslie@gma il.com> wrote:

          Comment

          Working...