Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Lambda

Reply
Thread Tools

Lambda

 
 
e
Guest
Posts: n/a
 
      02-09-2005
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!


 
Reply With Quote
 
 
 
 
Alan McIntyre
Guest
Posts: n/a
 
      02-09-2005
e wrote:
> 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!


Here's something:

http://docs.python.org/tut/node6.htm...00000000000000

Hope this helps,
Alan McIntyre
ESRG LLC
http://www.esrgtech.com
 
Reply With Quote
 
 
 
 
Tim Leslie
Guest
Posts: n/a
 
      02-09-2005
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 <> wrote:
> 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
>

 
Reply With Quote
 
bruno modulix
Guest
Posts: n/a
 
      02-09-2005
e wrote:
> Question: WHAT IS LAMBDA?


No need to scream, we here you quite well.

> I can't figure out what it does from any
> documentation i've found anywhere.


Then I doubt you really did search.
http://www.google.com/search?q=Python+%2B+lambda

> i doubt i need it


Why ?

> but i still want to
> know what the heck it is/does/fixes/whatever!


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

--
bruno desthuilliers
ruby -e "print ''.split('@').collect{|p|
p.split('.').collect{|w| w.reverse}.join('.')}.join('@')"
--
 
Reply With Quote
 
Cameron Laird
Guest
Posts: n/a
 
      02-09-2005
In article <mailman.2226.1107914023.22381.python->,
Tim Leslie <> wrote:
.
.
.
>* 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)

.
.
.
I like to think <URL:
http://www.unixreview.com/documents/...2f/ur0502f.htm >
helps the debate.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Type of lambda function returning a lambda function... Haochen Xie C++ 4 03-17-2013 11:23 PM
lambda vs non-lambda proc Steve Dogers Ruby 1 03-30-2009 10:11 PM
A critic of Guido's blog on Python's lambda Xah Lee Java 177 05-23-2006 07:11 PM
A Lambda Logo Tour Xah Lee Java 5 04-07-2006 04:07 PM
Re: Lambda as declarative idiom (was RE: what is lambda used for inreal code?) Roman Suzi Python 13 01-07-2005 09:33 PM



Advertisments