Inferring lambda parameter types in an argument position
Llewellyn Falco
isidore at setgame.com
Sat Mar 5 14:17:18 PST 2011
I'd also like to pipe in regarding the naming.
Since we won't have extension methods, and therefor can't change the names
of the methods easily, I would really like to suggest we use the mapping to
SQL syntax. It's much easier to understand and consume.
MyList<Y> newList = list
.map( #{ x -> new Y(x) } )
.filter( #{ y -> y.IsFunny() } );
MyList<Y> newList = list
.select( #{ x -> new Y(x) } )
.where( #{ y -> y.IsFunny() } );
select, where, groupby, orderby
we are already familiar with the name and concept.
Llewellyn Falco
More information about the lambda-dev
mailing list