3 ms·
It's not as concise as Haskell, but the addition of FP capabilities to C# make it a lot more pleasant as a practical language than it was in earlier days. var
by wanorris 15y ago
It's not as concise as Haskell, but the addition of FP capabilities to C# make it a lot more pleasant as a practical language than it was in earlier days.
var filteredCollection = collection.Where(x => predicate(x));
- sid0 15y agoAs far as I remember you can write that as var filteredCollection = collection.Where(predicate); I agree that C# is a fundamentally usable language.