Replies: 2 comments 1 reply
-
I haven't followed closely, did the stdlib already add |
Beta Was this translation helpful? Give feedback.
1 reply
-
done in 25660ee |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been wondering what design principles might apply regarding these functions from
Stdlib.Option
, as I seem to be able to argue from the both sides whether these trivial functions should be included incontainers
. On the one hand, these functions do not suffer from various legacy issues (throwing exceptions instead of returningresult
, not tail-recursive, etc.), and this would make migration from the standard library easier. On the other hand, one can simply writeNone
fornone
andpure
forsome
.Beta Was this translation helpful? Give feedback.
All reactions