Releases: obsidiansystems/constraints-extras
Releases · obsidiansystems/constraints-extras
v0.4.0.2
v0.4.0.1
What's Changed
- Build with ghc 9.6 by @alexfmpe in #51
- Support GHC-9.8. by @alaendle in #52
- Bump base and template-haskell bounds to enable GHC 9.10 by @jhrcek in #55
New Contributors
- @alexfmpe made their first contribution in #51
- @alaendle made their first contribution in #52
- @jhrcek made their first contribution in #55
Full Changelog: v0.4.0.0...v0.4.0.1
v0.4.0.0
0.4.0.0 - 2022-11-18
- Make
Has
from a type synonym into the class upon which everything else is based. Instances may define eitherhas
orargDict
which are now both methods ofHas
. This should hopefully improve the readability of type errors involving the library a fair bit, as everything wanted to useHas
, but it was defined in terms of the less commonly appearingArgDict
andConstraintsFor
. - The
ConstraintsFor
type family has been removed as it is now unnecessary, as instances ofHas
can simply be constrained directly. This has the added benefit of allowingQuantifiedConstraints
in those instance heads that formerly would not have been allowed as part of the result of a type family. - The
ArgDict
class has also been removed, as it was also basically never used on its own.