-
-
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
Adding on flatTransform to OptionT as suggested. (Issue #2309) #2314
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2314 +/- ##
==========================================
+ Coverage 94.73% 95.21% +0.48%
==========================================
Files 338 343 +5
Lines 5868 6085 +217
Branches 213 215 +2
==========================================
+ Hits 5559 5794 +235
+ Misses 309 291 -18
Continue to review full report at Codecov.
|
@@ -290,6 +290,12 @@ class OptionTSuite extends CatsSuite { | |||
} | |||
} | |||
|
|||
test("flatTransform consistent with value.map") { |
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.
should be with value.flatMap
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 catch, will update.
Do you think we should add this for I'm still not sure about the name, so I'd wait for one of the maintainers to take a look and decide. |
@kubukoz I think we should, and I do agree with you that it would make sense to have one of the maintainers decide. I also agree that separate PRs for each would be the way to go if the decision is to go ahead with it. |
@kubukoz, any particular maintainers we should request to take a look at this? |
I think |
I'm not a maintainer so I'll just delegate to Luka ;) Might also want to ping @kailuowang |
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.
Looks good :)
Thanks @LukaJCB! It appears that I don't have the ability to merge. @kailuowang, @LukaJCB, not sure if you're able to? |
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.
Thanks @ABHISHEK7!
… (typelevel#2314) * Adding on flatTransform to OptionT as suggested. * Code review changes; fixed a typo in OptionTSuite's flatTransform test.
#2309