Functional programming C++ template library
github.com
github.com
Maybe ISO could do a Python 3 and remove the C cruft someday.
True that. I really like where C++ is going. C++ is getting almost as expressive as ML.
Thanks for linking the libcppa library. As a fan of Erlang and a former C++ day-jobber, I find this fascinating.
v | filtered( [] (int i) { return i % 2 == 0;}) | transformed([] (int i) { return i * 2;})
instead of: vector<int> filtered;
copy_if(begin(v), end(v), back_inserter(filtered), [](int x) { return x % 2 == 0;});
vector<int> transformed;
transform(begin(filtered), end(filtered), back_inserter(transformed), [](int x) { return x * 2;});As for the "real world" side - I'm in the domain where C++ is still the best tool - good enough high-level constructs (but could be better, of course, we're slowly moving toward it) along with low-level stuff and determinism.