Skip to content
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

Added more implementations of map2Eval #1819

Merged
merged 3 commits into from
Aug 17, 2017

Conversation

johnynek
Copy link
Contributor

I hit a case where I wanted laziness with map2Eval and realized in many
cases where we could have it, we do not. There were all the cases I saw
that we missed, which I hope our existing tests cover.

I hit a case where I wanted laziness with map2Eval and realized in many
cases where we could have it, we do not. There were all the cases I saw
that we missed, which I hope our existing tests cover.
@johnynek johnynek requested a review from non August 11, 2017 21:22
@kailuowang kailuowang added this to the 1.0.0-RC1 milestone Aug 11, 2017
@codecov-io
Copy link

codecov-io commented Aug 11, 2017

Codecov Report

Merging #1819 into master will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1819      +/-   ##
==========================================
+ Coverage   94.88%   94.96%   +0.07%     
==========================================
  Files         241      241              
  Lines        4148     4173      +25     
  Branches      103      106       +3     
==========================================
+ Hits         3936     3963      +27     
+ Misses        212      210       -2
Impacted Files Coverage Δ
core/src/main/scala/cats/data/EitherT.scala 98.27% <ø> (ø) ⬆️
...c/main/scala/cats/laws/discipline/ApplyTests.scala 100% <100%> (ø) ⬆️
core/src/main/scala/cats/data/Ior.scala 100% <100%> (ø) ⬆️
core/src/main/scala/cats/data/IdT.scala 97.29% <100%> (+0.15%) ⬆️
core/src/main/scala/cats/data/Tuple2K.scala 100% <100%> (ø) ⬆️
core/src/main/scala/cats/instances/map.scala 94.11% <100%> (+0.56%) ⬆️
laws/src/main/scala/cats/laws/ApplyLaws.scala 100% <100%> (ø) ⬆️
core/src/main/scala/cats/data/WriterT.scala 94.18% <100%> (+0.13%) ⬆️
core/src/main/scala/cats/instances/stream.scala 96.42% <100%> (+0.27%) ⬆️
core/src/main/scala/cats/instances/list.scala 100% <100%> (ø) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f97df6c...fee3c64. Read the comment docs.

@johnynek
Copy link
Contributor Author

@kailuowang @edmundnoble can you gentlemen review this? I think it should be ready.

Copy link
Contributor

@kailuowang kailuowang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@johnynek johnynek merged commit 68a8666 into typelevel:master Aug 17, 2017
@johnynek johnynek deleted the more-map2Eval branch August 17, 2017 17:51
LukaJCB pushed a commit to LukaJCB/cats that referenced this pull request Sep 1, 2017
* Added more implementations of map2Eval

I hit a case where I wanted laziness with map2Eval and realized in many
cases where we could have it, we do not. There were all the cases I saw
that we missed, which I hope our existing tests cover.

* Add tests for map2 and map2Eval

* remove incorrect instances
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants