Skip to content

Commit

Permalink
Merge pull request #910 from ceedubs/rm-streaming
Browse files Browse the repository at this point in the history
Remove Streaming and StreamingT
  • Loading branch information
adelbertc committed Mar 3, 2016
2 parents c292e7f + 3282209 commit 253dc0d
Show file tree
Hide file tree
Showing 15 changed files with 4 additions and 2,654 deletions.
7 changes: 0 additions & 7 deletions core/src/main/scala/cats/Foldable.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package cats

import cats.data.Streaming

import scala.collection.mutable
import simulacrum.typeclass

Expand Down Expand Up @@ -274,11 +272,6 @@ import simulacrum.typeclass
val F = self
val G = ev
}

def toStreaming[A](fa: F[A]): Streaming[A] =
foldRight(fa, Now(Streaming.empty[A])){ (a, ls) =>
Now(Streaming.cons(a, ls))
}.value
}

/**
Expand Down
Loading

0 comments on commit 253dc0d

Please sign in to comment.