-
Notifications
You must be signed in to change notification settings - Fork 296
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
Clean warnings in persistent #1448
base: master
Are you sure you want to change the base?
Conversation
, modifyRunOnException | ||
, setRunOnException |
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.
oops, this warrants a minor bump!
@@ -44,6 +44,7 @@ import Data.Time (defaultTimeLocale) | |||
import Data.Time.Clock.POSIX (posixSecondsToUTCTime) | |||
#endif | |||
|
|||
import Prelude |
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.
Why import this? There is no NoImplicitPrelude
pragma in there.
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.
It's a trick to get fewer warnings over time. By putting Prelude
import last, you don't get a warning if you have import Data.Semigroup (Semigroup(..))
above. This is nice for reducing warnings when compiling with different versions of base
where more and more things are added to Prelude.
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.
Wow, didn't know that. I skimmed over this PR, looks fine. It'd be good to get this in, so I can build on it.
Before submitting your PR, check that you've:
@since
declarations to the Haddockstylish-haskell
on any changed files..editorconfig
file for details)After submitting your PR:
(unreleased)
on the Changelog