diff options
author | Miguel de Icaza <miguel@gnome.org> | 2007-05-07 08:53:37 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2007-05-07 08:53:37 +0400 |
commit | 28e4d7aedb7340e87228948aaa74f885db297a35 (patch) | |
tree | 11b417063406eff53fd034bc732f0a0cdf3e5b0e /mcs/docs | |
parent | fd317528caefd7b1c9177902a180a6c047354eef (diff) |
Some intro text
svn path=/trunk/mcs/; revision=76807
Diffstat (limited to 'mcs/docs')
-rwxr-xr-x | mcs/docs/compiler.txt | 13 |
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. |