From 96785c724ad5ba942812e037a7bbeaf832b824f7 Mon Sep 17 00:00:00 2001 From: "Kai(luo) Wang" Date: Fri, 15 Dec 2017 09:16:07 -0500 Subject: [PATCH 1/2] add Comparison to Cats fixes #2109 --- core/src/main/scala/cats/package.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/scala/cats/package.scala b/core/src/main/scala/cats/package.scala index 4160b30f46..5886da400f 100644 --- a/core/src/main/scala/cats/package.scala +++ b/core/src/main/scala/cats/package.scala @@ -90,6 +90,7 @@ package object cats { val Eq = cats.kernel.Eq val PartialOrder = cats.kernel.PartialOrder val Order = cats.kernel.Order + val Comparison = cats.kernel.Comparison val Hash = cats.kernel.Hash val Semigroup = cats.kernel.Semigroup val Monoid = cats.kernel.Monoid From 3b21ad6f95e0aff9f9af755f0d003f77d937c9b5 Mon Sep 17 00:00:00 2001 From: "Kai(luo) Wang" Date: Fri, 15 Dec 2017 13:30:00 -0500 Subject: [PATCH 2/2] added type for the sake of consistency --- core/src/main/scala/cats/package.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/scala/cats/package.scala b/core/src/main/scala/cats/package.scala index 5886da400f..33d47be4b4 100644 --- a/core/src/main/scala/cats/package.scala +++ b/core/src/main/scala/cats/package.scala @@ -81,6 +81,7 @@ package object cats { type Eq[A] = cats.kernel.Eq[A] type PartialOrder[A] = cats.kernel.PartialOrder[A] + type Comparison = cats.kernel.Comparison type Order[A] = cats.kernel.Order[A] type Hash[A] = cats.kernel.Hash[A] type Semigroup[A] = cats.kernel.Semigroup[A]