We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refined4s-cats
derivedOrder
Order[A]
Coercible[A, B]
Order[B]
[refined4s-cats] Add derivedOrder to have the instance of Order[A] derived from Coercible[A, B] and Order[B]
0.6.0
Given
import refined4s.* type MyNum = MyNum.Type object MyNum extends Newtype[Int]
import cats.* val n1 = MyNum(1) val n2 = MyNum(2) Order[MyNum].compare(n1, n2) // Int = -1
The text was updated successfully, but these errors were encountered:
Close #194 - [refined4s-cats] Add derivedOrder to have the instance o…
0d77f51
…f Order[A] derived from Coercible[A, B] and Order[B]
94e017d
kevin-lee
Successfully merging a pull request may close this issue.
Summary
[
refined4s-cats
] AddderivedOrder
to have the instance ofOrder[A]
derived fromCoercible[A, B]
andOrder[B]
Version
0.6.0
Description
Given
The text was updated successfully, but these errors were encountered: