You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that contravariant is in base I wonder if it makes sense to re-export it in rio? My instinct says that contramap, Predicate, Equivalence and Comparison have a low risk of collision and are sufficiently general that they should be simply re-exported. However, divide, choose, etc may be better namespaced.
The text was updated successfully, but these errors were encountered:
What version of base added this typeclass? We want to keep compatibility with older versions of base, and I'd rather avoid either a conditional API or adding extra dependencies for older versions of GHC.
In which case, I'd say we should hold off until at least GHC 8.6 is considered the default compiler version to start with, and probably until at least GHC 8.2 is no longer commonly supported. Then we can introduce a conditional dependency.
Now that contravariant is in base I wonder if it makes sense to re-export it in rio? My instinct says that
contramap
,Predicate
,Equivalence
andComparison
have a low risk of collision and are sufficiently general that they should be simply re-exported. However,divide
,choose
, etc may be better namespaced.The text was updated successfully, but these errors were encountered: