4 ms·
Rust leaves it unrestricted. As does Haskell (although I am lying a little most just choose to use Either for Result) Rust actually gets some use out of it, fo
by Guvante 2y ago
Rust leaves it unrestricted. As does Haskell (although I am lying a little most just choose to use Either for Result)
Rust actually gets some use out of it, for instance returning an alternative value instead of handling it as a pure failure.
- EdwardDiego 2y agoOh true, I am really interested in those choices too.
- remexre 2y agoThe case that comes most to mind for that in Rust is https://doc.rust-lang.org/std/primitive.slice.html#method.binary_search https://doc.rust-lang.org/std/primitive.slice.html#method.bi...
- EdwardDiego 2y agoThank you!