On 25 Aug 2015 at 17:49, Paul A. Bristow wrote:
But let me clear, if anyone can suggest a similarly short, instantly recognisable, uniquely standout name for monad<T>, I'm all ears.
OK - here's a concrete suggestion. [snip] these are all *outcomes* - of varying types of varying and unspecified Thingy.
So rather than Thingy or Donkey, how about:
Outcome<R>
I like Boost.Outcome and boost::outcome::basic_outcome<Policy>. Do these make sense however: outcome<T>: Can be empty/T/error_code/exception_ptr. result<T>: Can be empty/T/error_code. option<T>: Can be empty/T. If people like this, I can change Boost.Monad to Boost.Outcome very easily. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/