Support older GHC
Closed this issue · 5 comments
viercc commented
Matchable
, Bimatchable
classes themselves can be defined in Haskell98. Currently it requires base >= 4.10
.
viercc commented
-
Matchable
- Eq1 exists for ghc >= 8.0 (base-4.9)
- ghc >= 1.0 using
transformers
- ghc >= 1.0 using
- Generics exists since ghc >= 7.2 (base-4.4)
- Eq1 exists for ghc >= 8.0 (base-4.9)
-
Bimatchable
- Eq2 exists for ghc >= 8.0 (base-4.9)
- Bifunctor exists for ghc >= 7.10
- Can go older using
bifunctors
- Can go older using
viercc commented
7acce99 relaxes lower bound to base >=4.9
in excange for intorduction of some orphan instances for containers
types (Data.*.Orphans
)
viercc commented
It will be better to depend on functor-classes-compat. See haskellari/functor-classes-compat#8
viercc commented
After more than a year, supporting older (<= 8.0) ghc does not seems to be necessary. Revert all changes aimed to expand compatibility.