We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_opt
_exn
From #134
We frequently have two functions that do the same thing, but one returns an option, while the other fails where None would be returned.
option
None
There are two conventions for naming these:
f
x option
f_exn
x
f_opt
We currently mix these - we should make this consistent. I think I'd prefer the first approach, but we can have that conversation before implementing.
The text was updated successfully, but these errors were encountered:
NatKarmios
No branches or pull requests
From #134
We frequently have two functions that do the same thing, but one returns an
option
, while the other fails whereNone
would be returned.There are two conventions for naming these:
f
returnsx option
,f_exn
returnsx
or failsf
returnsx
or fails,f_opt
returnsx option
We currently mix these - we should make this consistent.
I think I'd prefer the first approach, but we can have that conversation before implementing.
The text was updated successfully, but these errors were encountered: