3 ms·
It's a bunch of functions that can be performed on an enumerable (array, set, , etc) type. Commonly several are changed together. Select (aka map) Where (aka
by np_tedious 7y ago
It's a bunch of functions that can be performed on an enumerable (array, set, , etc) type. Commonly several are changed together.
Select (aka map)
Where (aka filter)
SelectMany (aka Flatmap)
Accumulate (aka fold)
First (with optional predicate function)
Max
Min
GroupBy
Count
And so on. The readme lists them all
- bmurphy1976 7y agoIt's more than that though. It's also a special monad like syntax that takes advantage of those methods as well as transformation that takes the declarative form of those methods and converts them into something else ala SQL.
- james_s_tayler 7y agoIIRC only SelectMany meets the criteria of a monad. The powerful part about LINQ is it builds an AST and there are many different LINQ providers which can translate that AST into some instructions to interact with other systems. The typical one is converting it to SQL commands but you could plug anything into it.
- np_tedious 7y agoDoes this project do any of that?