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

Missing instance Eq (HashTable s k v) #40

Open
ekmett opened this issue Mar 15, 2017 · 0 comments
Open

Missing instance Eq (HashTable s k v) #40

ekmett opened this issue Mar 15, 2017 · 0 comments

Comments

@ekmett
Copy link

ekmett commented Mar 15, 2017

You can compare STRefs for equality, so you can have an Eq instance that checks to see if two HashTable s k v are the same hashtable. I wound up needing this, but can't write the isntance from outside of the package.

The instance does the only thing such an instance could do. It obviously can't compare the contents, and works just like when you compare STRefs or IORefs for equality.

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

No branches or pull requests

1 participant