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

    Aug 19, 2008 · I don't think it's necessarily accurate to say lambda functions are the same as anonymous functions. For some languages like JavaScript a lambda expression is a specific …

  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 …

  3. How do add python libraries to AWS Lambda? - Stack Overflow

    Feb 7, 2023 · 3 To use any 3rd party library in lambda you can use a lambda layer. install the dependency using following command pip3 install <your_package> -t . zip the package zip -r …

  4. python - Why use lambda functions? - Stack Overflow

    I can find lots of stuff showing me what a lambda function is, and how the syntax works and what not. But other than the "coolness factor" (I can make a function in middle a call to another functi...

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

    Mar 8, 2011 · Lambda is more of a concept or programming technique then anything else. Basically it's the idea that you get a function (a first-class object in python) returned as a result …

  6. Announcing LAMBDA - techcommunity.microsoft.com

    Dec 3, 2020 · LAMBDA Overview There are three key pieces of =LAMBDA to understand: LAMBDA function components Naming a lambda Calling a lambda function LAMBDA function …

  7. Understanding lambda in Python and using it to pass multiple …

    After reading everything I can find on lambda expressions in Python, I still don't understand how to make it do what I want. Everyone uses the example: lambda x, y : x + y Why do you need to …

  8. 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 …

  9. Use of AND & OR in the same LAMBDA function - Stack Overflow

    Aug 22, 2023 · Take-home exercise: explain for the result of the following expression (lambda x: (x % 2 and '' or 'even'))(5) and why it is always the same regardless of the function argument, …

  10. Lambda Expression vs Functor in C++ - Stack Overflow

    Jan 13, 2011 · I wonder where should we use lambda expression over functor in C++. To me, these two techniques are basically the same, even functor is more elegant and cleaner than …