-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
Category[Is] and related tests #2759
Conversation
Thanks! There is just Scalafmt failure. Would you run sbt prePR and commit the changes ? |
@kailuowang Thanks! I'll figure it out soon. |
Codecov Report
@@ Coverage Diff @@
## master #2759 +/- ##
==========================================
+ Coverage 95.34% 95.34% +<.01%
==========================================
Files 363 363
Lines 6782 6788 +6
Branches 290 283 -7
==========================================
+ Hits 6466 6472 +6
Misses 316 316
Continue to review full report at Codecov.
|
@kailuowang This should be OK now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, thanks!
/** | ||
* The category instance on Leibniz categories. | ||
*/ | ||
implicit val leibniz: Category[Is] = new Category[Is] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we give thise one a more verbose name? Something like catsEvidenceCategoryForLeibniz
? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Category
instance for As
is named as liskov
-- so I copied that :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call :)
This should fix #2720 .