Boost logo

Boost :

Subject: Re: [boost] Final lightweight monad, next gen futures and upcoming AFIO review
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-06-29 02:25:14


Le 28/06/15 22:14, Vinícius dos Santos Oliveira a écrit :
> 2015-06-25 22:11 GMT-03:00 Niall Douglas <s_sourceforge_at_[hidden]>:
>
>> plus these
>> new specialisations were added:
>>
>> * result<T>: empty/T/error_code (no exception_ptr).
>> * option<T>: empty/T (no error code nor exceptions).
>>
> I like these specialisations. Makes the code clearer.
>
> What do you think about renaming monad to async_monad?
>
>
Please, don't use monad nor async_monad for any class. Monad is a
concept not a type and we need to reserve his use for a library
proposing to work on Monad concepts.

Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk