-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
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
chore(stdlib)!: Use default arguments in more of stdlib #1772
chore(stdlib)!: Use default arguments in more of stdlib #1772
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick skim, 2 things jumped out:
- graindoc needs to be fixed and you shouldn't be embedding defaults into the descriptions
- No shortened names for defaulted params, we want to be very clear with their names.
77a2968
to
943581f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didnt look over any of the test changes just the code changes but I am liking the look of this pr.
blocked on #1776 |
943581f
to
fdab887
Compare
#1776 merged, no longer blocked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
I don't think we should combine the unwrap
and expect
functions though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an absolute delight! Thanks @alex-snezhko 🎉
@alex-snezhko can you resolve the conflicts please? |
0c5dfa8
to
3206d76
Compare
3206d76
to
3e4b120
Compare
Makes use of default arguments in various places of the stdlib where I thought they made sense.
I was also considering combining
unwrap
andexpect
inOption
/Result
but was unsure if I should.Closes #697