Skip to content

Commit

Permalink
Make syntax.show extend ShowSyntax instead of Show.ToShowOps
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundnoble committed Jun 28, 2017
1 parent bbc97b8 commit ea8c917
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/syntax/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions tests/src/test/scala/cats/tests/ShowTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ea8c917

Please sign in to comment.