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

Make syntax.show extend ShowSyntax instead of Show.ToShowOps #1696

Merged
merged 1 commit into from
Jul 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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