Skip to content
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

[#47] Add Eq instance to TypeRepMap using QuantifiedConstraints #72

Merged
merged 2 commits into from
Mar 27, 2019

Conversation

chshersh
Copy link
Contributor

Resolves #47

I've tested in REPL and it seems working:

λ: import Data.TypeRepMap as T
λ: tm1 = T.one (Proxy @3)
λ: tm2 = T.one (Proxy @3) <> T.one (Proxy @4)
λ: tm1 == tm2
False
λ: tm1 == tm1
True
λ: tm2 == tm2
True

Also, due to this instance it became possible to simplify existing tests.

@chshersh chshersh self-assigned this Mar 27, 2019
Copy link
Member

@vrom911 vrom911 left a comment

Choose a reason for hiding this comment

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

Cool!

@vrom911 vrom911 merged commit 449d597 into master Mar 27, 2019
@vrom911 vrom911 deleted the chshersh/47-Add-an-Eq-instance-on branch March 27, 2019 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants