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

Add EitherNel type alias for Either[NonEmptyList[E], A] #1746

Merged
merged 1 commit into from
Jun 27, 2017

Conversation

andyscott
Copy link
Contributor

@andyscott andyscott commented Jun 27, 2017

Often when doing validations using ValidatedNel, the result is converted to Either when returning to a higher level where steps are sequenced. It'd be convenient to represent this type as EitherNel instead of Either[NonEmptyList[...

@codecov-io
Copy link

codecov-io commented Jun 27, 2017

Codecov Report

Merging #1746 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1746   +/-   ##
=======================================
  Coverage   94.02%   94.02%           
=======================================
  Files         256      256           
  Lines        4201     4201           
  Branches       84       84           
=======================================
  Hits         3950     3950           
  Misses        251      251
Impacted Files Coverage Δ
core/src/main/scala/cats/data/package.scala 85.71% <ø> (ø) ⬆️

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 605e9b5...8748844. Read the comment docs.

@johnynek
Copy link
Contributor

👍

@kailuowang
Copy link
Contributor

merge with 2 sign-offs

@kailuowang kailuowang merged commit bbc97b8 into typelevel:master Jun 27, 2017
@kailuowang kailuowang modified the milestone: 1.0.0-MF Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants