-
Notifications
You must be signed in to change notification settings - Fork 264
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
Getting rid of warnings and hlint suggestions #959
Getting rid of warnings and hlint suggestions #959
Conversation
* using 'copyBytes' instead of 'memcpy' as shown in the deprecation warning * using 'fdRead' from a different module as shown in the deprecation warning * writing some functions more point-free (i.e. eta reducing) * removing redundant parentheses * some import list cleanup
…n phase out the 'Default' instance at some point
…. Also defaulting content length to 0 if there are no headers, and added custom 'error' to fail with more info, even though it should never happen.
Is this ready for merging? |
If you feel the changes are acceptable, this is indeed ready for merging. |
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.
LGTM
Merged. Off topic but if we could agree with a formatter, it would be great. |
I've also always used Do we want specific settings? I mostly go for very diff-able settings and readability. (4 spaces indent, half-indent |
My settings is here: https://github.com/kazu-yamamoto/quic/blob/master/fourmolu.yaml |
When we reach consensus, I will add |
I see our settings/styles are almost identical. So all in all, I'd say the |
Closing in favor of #965. |
Before submitting your PR, check that you've:
@since
declarations to the HaddockAfter submitting your PR:
Wanted to get rid of warnings you get when building the packages in this repo, so I tried to do so. And refactored some small stuff.
Only real "change" is adding
defaultGzipSettings
to hopefully at some point be able to phase out thedata-default
dependencywai-extra
still has.