Say there are two classes:
class A a where
...
class A a => B a where
...
Assuming that the behaviour of f doesn't change, are any of these type changes permissible for a minor version bump?
- Constraint relaxation
-f :: B a => a -> X
+f :: A a => a -> X
- Removing a redundant constraint
-f :: (A a, B a) => a -> X
+f :: B a => a -> X
Say there are two classes:
Assuming that the behaviour of
fdoesn't change, are any of these type changes permissible for a minor version bump?