Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/docs
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2007-05-07 08:53:37 +0400
committerMiguel de Icaza <miguel@gnome.org>2007-05-07 08:53:37 +0400
commit28e4d7aedb7340e87228948aaa74f885db297a35 (patch)
tree11b417063406eff53fd034bc732f0a0cdf3e5b0e /mcs/docs
parentfd317528caefd7b1c9177902a180a6c047354eef (diff)
Some intro text
svn path=/trunk/mcs/; revision=76807
Diffstat (limited to 'mcs/docs')
-rwxr-xr-xmcs/docs/compiler.txt13
1 files changed, 13 insertions, 0 deletions
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.