Skip to content

Commit

Permalink
Merge pull request #820 from mpilquist/topic/simulacrum-upgrade
Browse files Browse the repository at this point in the history
Upgrade to simulacrum 0.6.1
  • Loading branch information
milessabin committed Jan 20, 2016
2 parents 722ce05 + f3c4eba commit d8e7e78
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ lazy val commonSettings = Seq(
Resolver.sonatypeRepo("snapshots")
),
libraryDependencies ++= Seq(
"com.github.mpilquist" %%% "simulacrum" % "0.5.0",
"com.github.mpilquist" %%% "simulacrum" % "0.6.1",
"org.spire-math" %%% "algebra" % "0.3.1",
"org.spire-math" %%% "algebra-std" % "0.3.1",
"org.typelevel" %%% "machinist" % "0.4.1",
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/Foldable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import simulacrum.typeclass
*
* See: [[http://www.cs.nott.ac.uk/~pszgmh/fold.pdf A tutorial on the universality and expressiveness of fold]]
*/
@typeclass trait Foldable[F[_]] extends Serializable { self =>
@typeclass trait Foldable[F[_]] { self =>

/**
* Left associative fold on 'F' using the function 'f'.
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/SemigroupK.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import simulacrum.{op, typeclass}
* The combination operation just depends on the structure of F,
* but not the structure of A.
*/
@typeclass trait SemigroupK[F[_]] extends Serializable { self =>
@typeclass trait SemigroupK[F[_]] { self =>

/**
* Combine two F[A] values.
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/Show.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import cats.functor.Contravariant
* made a toString method, a Show instance will only exist if someone
* explicitly provided one.
*/
@typeclass trait Show[T] extends Serializable {
@typeclass trait Show[T] {
def show(f: T): String
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/functor/Invariant.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import simulacrum.typeclass
/**
* Must obey the laws defined in cats.laws.InvariantLaws.
*/
@typeclass trait Invariant[F[_]] extends Any with Serializable { self =>
@typeclass trait Invariant[F[_]] { self =>
def imap[A, B](fa: F[A])(f: A => B)(g: B => A): F[B]

/**
Expand Down

0 comments on commit d8e7e78

Please sign in to comment.