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

bump hashable upper bound <1.6 #158

Closed
wants to merge 1 commit into from

Conversation

mhitza
Copy link

@mhitza mhitza commented Aug 13, 2024

Latest hashable released version is 1.5.0.0. async builds on my end with this new release. Here are the upstream changes for this release:


  • Add QuantifiedConstraints superclasses to Hashable1/2:
class (Eq1 t, forall a. Hashable a => Hashable (t a)) => Hashable1 t where
class (Eq2 t, forall a. Hashable a => Hashable1 (t a)) => Hashable2 t where
  • Change contexts of Compose, Product and Sum instances. This and above is the similar change as CLC proposal 10

  • The above changes require base-4.18.0.0, so we drop support for GHC prior GHC-9.6.5 (The hashable-1.4 branch will be maintained for time being for older GHC users).

  • Make Arg a b instance behave as Hashable a instance.


Resolves #157 and build issues on my end when scientific-0.3.8.0 and tls-2.1.0 are involved (both latest transitive dependency of a http-conduit library installation)

Latest hashable released version is 1.5.0.0. async builds on my end
with this new release. Here the upstream changes for this release:

---

- Add QuantifiedConstraints superclasses to Hashable1/2:

```haskell
class (Eq1 t, forall a. Hashable a => Hashable (t a)) => Hashable1 t where
class (Eq2 t, forall a. Hashable a => Hashable1 (t a)) => Hashable2 t where
```

- Change contexts of Compose, Product and Sum instances. This and above is the similar change as CLC proposal simonmar#10

- The above changes require base-4.18.0.0, so we drop support for GHC prior GHC-9.6.5 (The hashable-1.4 branch will be maintained for time being for older GHC users).

- Make Arg a b instance behave as Hashable a instance.
@andreasabel
Copy link
Contributor

andreasabel commented Aug 15, 2024

@mhitza Thanks! I included this change in

It is published as revision on Hackage now.

@mhitza mhitza closed this Aug 15, 2024
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.

Allow hashable-1.5
2 participants