This blog is interested in imperative, functional, procedural, logic-based, and all sorts of ways of thinking about programming. I write mostly about C++, my bread-and-butter.
Recent articles have focussed around functional programming in C++; this is one paradigm C++ programmers often neglect. Many believe that it is not possible or efficient to do. I challenge this assertion by example!
Tuesday, November 6, 2012
The Election Monad
auto fourMoreYears = std::make_pair(Obama(),Romney()) >>= americanElection;