Subject: Re: [boost] Monad (was: Re: [Boost-users] [afio] Formal review of Boost.AFIO)
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2015-08-25 13:50:02
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.
> these are all *outcomes* - of varying types of varying and unspecified Thingy.
> So rather than Thingy or Donkey, how about:
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
-- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk