Fernando Cacciola <[EMAIL PROTECTED]> wrote:
> Joel de Guzman <[EMAIL PROTECTED]> wrote in message

>> There's a lot of experience with it in other languages. Why not leverage
>> that? Haskell::Maybe for instance.
>> 
> Do you know of anything else besides Haskell?

No.

> I don't, and I took the time to investigate Maybe looking at Haskell
> programs using it.
> As Brian pointed out, it is not so easy to port Maybe to C++ because
> its usage is extensively supported by Haskell features that are
> not present in C++.
> The most fundamental point is that being Haskell a pure functional
> language there is no possibly undefined behaviour to worry about,
> so Maybe doesn't need to address this issue as optional<> does.

Agreed.

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to