Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Proposing new syntax for zero-cost unwrapping options/results

$
0
0

Thanks for pinging me!

I absolutely love this idea, I need it now.

One thought that occurred: What if I want to unwrap and catch an error without bubbling it up?

Rust has a let Ok(foo) = bar else {…} where I can panic.


Viewing all articles
Browse latest Browse all 2592

Trending Articles