44 points · by adamnemecek · 11y ago · 7 comments
// must be overloaded
template<template<typename> class M,typename T,typename F>
auto operator>>=(const M<T>& m, F f)->decltype(f(std::declval<const T>()));
Could someone please point out to me why exactly this is useful and why I would want to code like this? Does it help me solve specific types of problems?So why not just use Haskell?
Cool stuff though.
git commit -m "`date`"