About 61 results
Open links in new tab
  1. language agnostic - What is a lambda (function)? - Stack Overflow

    Aug 19, 2008 · For a person without a comp-sci background, what is a lambda in the world of Computer Science?

  2. What is a lambda expression, and when should I use one?

    Here is another really good reference which explains very well what are lambda expressions in C++: Microsoft.com: Lambda expressions in C++. I especially like how well it explains the parts of a …

  3. language agnostic - What is a Lambda? - Stack Overflow

    Sep 29, 2008 · "Lambda" refers to the Lambda Calculus or to a specific lambda expression. Lambda calculus is basically a branch of logic and mathematics that deals with functions, and is the basis of …

  4. C# Lambda ( => ) - Stack Overflow

    Apr 7, 2017 · All lambda expressions use the lambda operator =>, which is read as "goes to". The left side of the lambda operator specifies the input parameters (if any) and the right side holds the …

  5. LAMBDA functions - techcommunity.microsoft.com

    Aug 24, 2024 · We're excited to announce the release of seven new LAMBDA functions, as well as other improvements to this powerful functionality.

  6. python - List comprehension vs. lambda + filter - Stack Overflow

    by_attribute = lambda x: x.attribute == value xs = filter(by_attribute , xs) Yes, that's two lines of code instead of one, but you clean filter expression from cumbersome lambda and by naming lambda …

  7. What is `lambda` in Python code? How does it work with `key` …

    I saw some examples using built-in functions like sorted, sum etc. that use key=lambda. What does lambda mean here? How does it work? For the general computer science concept of a lambda, see …

  8. What exactly is "lambda" in Python? - Stack Overflow

    Mar 8, 2011 · The lambda construct is a shorter way to define a simple function that calculates a single expression. The def statement can be inconvenient and make the code longer, broken up and harder …

  9. python - Lambda inside lambda - Stack Overflow

    May 31, 2013 · 1 (lambda x: x%2) is a function, and dividing a function by 2 doesn't make any sense. You probably want to call it and divide what the value it returned.

  10. What does "lambda" mean in Python, and what's the simplest way to …

    Oct 18, 2009 · In Python it is only possible to make a lambda that returns a single expression, and the lambda cannot span multiple lines (unless you join the multiple lines by using the backslash-at-the …