News for hackers. Stuff that matters.
Re:Fighting Rust's Expressive Type System by arthurcolle on Sunday October 25, 2020 @06:39AM (#24885286)
so I take it Option is an optional type in Rust? What am I supposed to do if I want to create a financial Option type in Rust? Gotta rename it? ;)

Just kidding... unless... ?

Re:Fighting Rust's Expressive Type System by baq on Sunday October 25, 2020 @08:16AM (#24885722)
The point of the article is that you won’t have that type: at the very least you’d have a PutOption and a CallOption.
Re:Fighting Rust's Expressive Type System by unrealhoang on Sunday October 25, 2020 @06:58AM (#24885353)
You can create and use Option without problem, your Option will be crate::Option, whereas Rust Option will be std::option::Option. std::option::Option<Option> works, yay.
Re:Fighting Rust's Expressive Type System by arthurcolle on Sunday October 25, 2020 @08:44AM (#24885884)
I see, thanks. Really haven't ever used Rust for anything so didn't know exactly what namespacing was like. Sorry for the trite parent comment... :)