Skip to content

Conversation

@parsonsmatt
Copy link
Collaborator

Before submitting your PR, check that you've:

  • Documented new APIs with Haddock markup
  • Added @since declarations to the Haddock
  • Ran stylish-haskell on any changed files.
  • Adhered to the code style (see the .editorconfig file for details)

After submitting your PR:

  • Update the Changelog.md file with a link to your PR
  • Bumped the version number if there isn't an (unreleased) on the Changelog
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts)

Comment on lines +14 to +15
, modifyRunOnException
, setRunOnException
Copy link
Collaborator Author

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!

import Data.Time.Clock.POSIX (posixSecondsToUTCTime)
#endif

import Prelude
Copy link
Contributor

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.

Copy link
Collaborator Author

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.

Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants