http://dobegin.com/lambda-functions-everywhere/Lambda function syntax in programming languages
Language Lambda syntax Ver Year
Haskell \x -> 2*x+1 1 1990
Python lambda x: 2*x+1 1 1994
OCaml/F# fun x -> 2*x+1 1 1996
Scala x => 2*x+1 1 2004(2)
C# x => 2*x+1 3 2007(6)
Ruby -> (x) { 2*x+1 } 1.9 2007(1)
Groovy { x -> 2*x+1 } 1 2007(2)
Visual Basic Function (x) 2*x+1 9 2007
PHP function ($x) { return 2*$x+1; } 5.3 2009
Objective-C ^(int x) { return 2*x+1; } 3.2 2009(3)
Clojure (fn [x] (+ (* 2 x) 1)) 1 2009(2)
C++ [](int x) { return 2*x+1; } 11 2011
Go func (x int) int { return 2*x+1 } 1 2012(2)
Java x -> 2*x+1 8 2014
Swift { x in 2*x+1 } 1 2014
JavaScript x => 2*x+1 6 2015(4)
Perl -> $x { 2*$x+1 } 6 2015(5)
知乎上 C#那帮人一股子饭圈味