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

Adding Nes and Nec equivalents of Nel functions #2543

Conversation

calvinbrown085
Copy link
Contributor

@calvinbrown085 calvinbrown085 commented Sep 29, 2018

addresses #2539

We might need to merge #2475 first because our changes are going to overlap each other, happy to merge the previous PR then fix conflicts in my branch.

@codecov-io
Copy link

codecov-io commented Sep 29, 2018

Codecov Report

Merging #2543 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2543      +/-   ##
==========================================
+ Coverage   95.17%   95.18%   +<.01%     
==========================================
  Files         359      359              
  Lines        6553     6561       +8     
  Branches      278      278              
==========================================
+ Hits         6237     6245       +8     
  Misses        316      316
Impacted Files Coverage Δ
core/src/main/scala/cats/data/package.scala 88.88% <ø> (ø) ⬆️
core/src/main/scala/cats/data/Ior.scala 98.54% <100%> (+0.02%) ⬆️
core/src/main/scala/cats/syntax/either.scala 99.26% <100%> (+0.03%) ⬆️

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 15f4e59...c693d66. Read the comment docs.

@kubukoz
Copy link
Member

kubukoz commented Sep 30, 2018

#2475 merged :)

@calvinbrown085
Copy link
Contributor Author

@kubukoz Thanks! I'll clean my PR up

@calvinbrown085
Copy link
Contributor Author

@kubukoz Hi! I think this is ready for review

@calvinbrown085
Copy link
Contributor Author

Do we need 2 +1's from reviewers with write access to merge? Not sure how that works, thanks!

@ceedubs
Copy link
Contributor

ceedubs commented Oct 5, 2018

Thanks @calvinbrown085!

Sorry but I have to ask: are we confident in Nes referring to NonEmptySet? I was thinking that it would stand for NonEmptyStream before I started looking through the code.

@calvinbrown085
Copy link
Contributor Author

Hrm, that is a good point. I guess I assumed NonEmptySet but I can see either way! Looking at this comment by @kubukoz #2475 (comment) it seems like he was referring to NonEmptySet but he might have to clarify

@kubukoz
Copy link
Member

kubukoz commented Oct 5, 2018 via email

@LukaJCB
Copy link
Member

LukaJCB commented Oct 5, 2018

That's unfortunate, we do already have some precedent with toNes and groupByNes refering to NonEmptySet.

@kailuowang kailuowang merged commit 9c56c4b into typelevel:master Oct 8, 2018
@calvinbrown085 calvinbrown085 deleted the adding-nes-nec-equivalent-functions branch October 8, 2018 20:08
@kailuowang kailuowang added this to the 1.5 milestone Oct 30, 2018
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.

6 participants