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

Upgrade to simulacrum 0.6.1 #820

Merged
merged 1 commit into from
Jan 20, 2016
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 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