Skip to content

Conversation

Bodigrim
Copy link
Contributor

CLC has approved the proposal to remove (/=) from class Eq (haskell/core-libraries-committee#3). It means that class Eq will contain a single member (==) and (/=) will be just a normal function.

The implementation of the proposal is delayed at least to GHC 9.4 and likely to GHC 9.6, but one can already future-proof Eq instances to be compliant with this change in a backwards-compatible way. No CPP required.

Migration guide and more info: https://github.com/haskell/core-libraries-committee/pull/16/files?short_path=96261da#diff-96261daba6a7a6dc59441c8a9ae10ce5cbbeae9a5ad9b11d9b8cac0d3c01be5a

@lehins lehins self-requested a review November 17, 2021 20:48
@Shimuuar Shimuuar merged commit 08e128d into haskell:master Nov 18, 2021
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