Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Move instances to typeclass #287

Merged
merged 8 commits into from Jan 12, 2021
Merged

Conversation

nomisRev
Copy link
Member

We cannot guarantee that all data types have a Companion object, but we can guarantee that a typeclass has a Companion. For consistency reason it's therefore most interessting to expose instances on the Companion of the typeclass.

This PR moves the new code that exposes the typeclasses to the typeclass Companion.

@nomisRev nomisRev requested review from franciscodr, raulraja and a team and removed request for franciscodr January 12, 2021 11:43
Copy link
Member

@raulraja raulraja left a comment

Choose a reason for hiding this comment

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

Thanks @nomisRev !

…rderingEq.kt

Co-authored-by: Francisco Diaz <francisco.d@47deg.com>
Copy link
Contributor

@franciscodr franciscodr left a comment

Choose a reason for hiding this comment

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

Thanks @nomisRev

@nomisRev nomisRev merged commit 723ce6a into master Jan 12, 2021
@nomisRev nomisRev deleted the sv-move-instances-to-typeclass branch January 12, 2021 15:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants