From ea8c9176c3beabfcf33e759f9fb895c4aaccbbad Mon Sep 17 00:00:00 2001 From: Edmund Noble Date: Mon, 22 May 2017 00:34:58 -0600 Subject: [PATCH] Make syntax.show extend ShowSyntax instead of Show.ToShowOps --- core/src/main/scala/cats/syntax/package.scala | 2 +- tests/src/test/scala/cats/tests/ShowTests.scala | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/main/scala/cats/syntax/package.scala b/core/src/main/scala/cats/syntax/package.scala index 7c7ab4285e..cc16337bd0 100644 --- a/core/src/main/scala/cats/syntax/package.scala +++ b/core/src/main/scala/cats/syntax/package.scala @@ -36,7 +36,7 @@ package object syntax { object reducible extends ReducibleSyntax object semigroup extends SemigroupSyntax object semigroupk extends SemigroupKSyntax - object show extends Show.ToShowOps + object show extends ShowSyntax object split extends SplitSyntax object strong extends StrongSyntax object monadTrans extends MonadTransSyntax diff --git a/tests/src/test/scala/cats/tests/ShowTests.scala b/tests/src/test/scala/cats/tests/ShowTests.scala index 5f3cb31477..51fbb82b07 100644 --- a/tests/src/test/scala/cats/tests/ShowTests.scala +++ b/tests/src/test/scala/cats/tests/ShowTests.scala @@ -11,8 +11,6 @@ class ShowTests extends CatsSuite { checkAll("Contravariant[Show]", SerializableTests.serializable(Contravariant[Show])) test("show string interpolator") { - import cats.syntax.show._ - case class Cat(name: String) object Cat { implicit val showCat: Show[Cat] = Show.show(_.name)