Such sugar would would use some sort of monad trait right?

On Sunday, December 8, 2013, Ziad Hatahet wrote:

> On Sat, Dec 7, 2013 at 2:21 PM, Gábor Lehel 
> <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>
> > wrote:
>
>> I do wonder whether it wouldn't make sense to add sugar for Option, at
>> least eventually. (`int?` at the type level is really nice, too... too bad
>> it doesn't play so well with Rust's sigils. Introducing the potential
>> confusion between `~?T` and `?~T` is probably a step too far.)
>>
>
> Wouldn't it be better to add something similar to Haskell's `do` instead
> of another sigil?
>
>
> --
> Ziad
>
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to