2 ms·
> much to my disappointment as I'm just learning rust Then prepare to be disappointed by Haskell as well, where the equivalent function is called `fromJust`. :
by kibwen 11y ago
> much to my disappointment as I'm just learning rust
Then prepare to be disappointed by Haskell as well, where the equivalent function is called `fromJust`. :P
Both languages discourage the use of these constructs, but they exist for good reasons.
- codygman 11y ago> Both languages discourage the use of these constructs, but they exist for good reasons. Curious, what are your good reasons for fromJust in Haskell?