-
-
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
Add Applicative IorT instance #2181
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2181 +/- ##
==========================================
+ Coverage 94.71% 94.75% +0.04%
==========================================
Files 329 330 +1
Lines 5558 5572 +14
Branches 215 218 +3
==========================================
+ Hits 5264 5280 +16
+ Misses 294 292 -2
Continue to review full report at Codecov.
|
I haven't checked it for |
implicit val F = ListWrapper.applicative | ||
|
||
checkAll("IorT[ListWrapper, String, Int]", ApplicativeTests[IorT[ListWrapper, String, ?]].applicative[Int, Int, Int]) | ||
checkAll("Applicative[IorT[List, ?, ?]]", SerializableTests.serializable(Applicative[IorT[ListWrapper, String, ?]])) |
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 description says List
but the code uses ListWrapper
. Is this intended ?
Thanks for pointing that out @peterneyens! I wasn't aware this would lead to inconsistencies, I understand how OptionT and EitherT would differ, but I'm not 100% certain I'd be the same for |
@peterneyens @LukaJCB perhaps we could add some kind of scaladoc that would let the user know to call |
I created #2272, shall we close this? |
Yup :) |
This was a missing instances cc @arosien