Skip to content

Conversation

@jonathanknowles
Copy link

This PR adds Hashable instances for:

  • Data.Semigroup.Sum
  • Data.Semigroup.Product

deriving newtype instance Hashable a => Hashable (Semi.Max a)

deriving newtype instance Hashable a => Hashable (Semi.Sum a)
deriving newtype instance Hashable a => Hashable (Semi.Product a)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be happy to also add:

  • a @since <version number> for each new instance
  • an accompanying CHANGELOG entry

Though what version should be listed? (I notice that some repositories use "unreleased" as a placeholder for the eventual version number.)

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.

1 participant