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
kevin-lee
changed the title
[refined4s-core] Add contraCoercible to F[B] => F[A] with Contravariant[F] and Coercible[A, B]
[refined4s-cats] Add contraCoercible to F[B] => F[A] with Contravariant[F] and Coercible[A, B]Dec 23, 2023
Summary
[
refined4s-cats
] AddcontraCoercible
toF[B] => F[A]
withContravariant[F]
andCoercible[A, B]
Version
0.4.0
Description
This is useful to derive type-class instances for
Newtype
,Refined
andInlinedRefined
from the type-class instances of the actual types.e.g.)
where
B
is the actual type andA
could be a newtype or a refined type.The text was updated successfully, but these errors were encountered: