Skip to content

Commit

Permalink
Merge pull request #1469 from travisbrown/topic/xor-name-clean-up
Browse files Browse the repository at this point in the history
Rename SemigroupK instance for Either for consistency
  • Loading branch information
kailuowang authored Nov 17, 2016
2 parents b71a25d + 28d3a7e commit e20cb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/instances/either.scala
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ trait EitherInstances extends cats.kernel.instances.EitherInstances {
}
// scalastyle:on method.length

implicit def catsDataSemigroupKForEither[L]: SemigroupK[Either[L, ?]] =
implicit def catsStdSemigroupKForEither[L]: SemigroupK[Either[L, ?]] =
new SemigroupK[Either[L, ?]] {
def combineK[A](x: Either[L, A], y: Either[L, A]): Either[L, A] = x match {
case Left(_) => y
Expand Down

0 comments on commit e20cb6b

Please sign in to comment.