From 28e4d7aedb7340e87228948aaa74f885db297a35 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Mon, 7 May 2007 04:53:37 +0000 Subject: Some intro text svn path=/trunk/mcs/; revision=76807 --- mcs/docs/compiler.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mcs/docs') diff --git a/mcs/docs/compiler.txt b/mcs/docs/compiler.txt index 06e993ec2de..330d8a7977b 100755 --- a/mcs/docs/compiler.txt +++ b/mcs/docs/compiler.txt @@ -646,6 +646,19 @@ * Lambda Expressions + Lambda expressions can come in two forms: those that have implicit + parameter types and those that have explicit parameter types, for + example: + + Explicit: + + Foo ((int x) => x + 1); + + Implicit: + + Foo (x => x + 1) + + One of the problems that am facing with lambda expressions is that lambda expressions need to be "probed" with different types until a working combination is found. -- cgit v1.2.3