Top "Lambda" questions

DO NOT USE FOR THE AWS SERVICE (use [aws-lambda] for those questions!

What is key=lambda

While using some built-in functions like sorted, sum... I noticed the usage of key=lambda What is lambda? How does …

python lambda key
How to convert a String to its equivalent LINQ Expression Tree?

This is a simplified version of the original problem. I have a class called Person: public class Person { public string …

c# lambda antlr dsl predicate
How to Convert all strings in List<string> to lower case using LINQ?

I saw a code snippet yesterday in one of the responses here on StackOverflow that intrigued me. It was something …

c# linq lambda foreach
How to return value with anonymous method?

This fails string temp = () => {return "test";}; with the error Cannot convert lambda expression to type 'string' because it is …

c# .net lambda
Cannot use ref or out parameter in lambda expressions

Why can't you use a ref or out parameter in a lambda expression? I came across the error today and …

c# lambda
Java 8 Supplier with arguments in the constructor

Why do suppliers only support no-arg constructors? If the default constructor is present, I can do this: create(Foo::new) …

java lambda functional-programming java-8 functional-interface
How to remove a lambda event handler

Possible Duplicates: Unsubscribe anonymous method in C# How do I Unregister ‘anonymous’ event handler I recently discovered that I can …

c# events event-handling lambda
Java 8 pass method as parameter

Currently getting into Java 8 lambda expressions and method references. I want to pass a method with no args and no …

java lambda java-8 method-reference
Java 8 Lambda - Intersection of Two Lists

I am trying to find intersection of two lists based on some condition and doing some steps. Couldn't find a …

java lambda java-8 intersection
Entity Framework - Cannot convert lambda expression to type 'string' because it is not a delegate type

I am using Entity Framework in my C# based code. I am running into an unexpected weirdness and am looking …

c# .net entity-framework lambda