Skip to content

Commit

Permalink
Merge pull request #648 from ceedubs/streaming-prod-ser
Browse files Browse the repository at this point in the history
Streaming and StreamingT extend Product with Serializable
  • Loading branch information
stew committed Nov 15, 2015
2 parents 81c2111 + ce4d738 commit 8d02f0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/data/Streaming.scala
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import scala.collection.mutable
* constructed with `Foldable#foldRight`, and that `.map` and
* `.flatMap` operations over the tail will be safely trampolined.
*/
sealed abstract class Streaming[A] { lhs =>
sealed abstract class Streaming[A] extends Product with Serializable { lhs =>

import Streaming.{Empty, Wait, Cons}

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/data/StreamingT.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import cats.syntax.all._
* not support many methods on `Streaming[A]` which return immediate
* values.
*/
sealed abstract class StreamingT[F[_], A] { lhs =>
sealed abstract class StreamingT[F[_], A] extends Product with Serializable { lhs =>

import StreamingT.{Empty, Wait, Cons}

Expand Down

0 comments on commit 8d02f0a

Please sign in to comment.