Closed jchia closed 7 years ago
Is there an intrinsic reason for having an instance Eq key => SetContainer [(key, value)] but not Eq key => SetContainer [key]? Because of this missing instance, ClassyPrelude.(\\) can't do the same thing as Data.List.(\\).
Eq key => SetContainer [(key, value)]
Eq key => SetContainer [key]
ClassyPrelude.(\\)
Data.List.(\\)
The instance is impossible without something like OverlappingInstances, which would be a bad thing to add.
Is there an intrinsic reason for having an instance
Eq key => SetContainer [(key, value)]
but notEq key => SetContainer [key]
? Because of this missing instance,ClassyPrelude.(\\)
can't do the same thing asData.List.(\\)
.