sealed
class
StreamT[M[_], A] extends AnyRef
Instance Constructors
-
new
StreamT(step: M[Step[A, StreamT[M, A]]])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
++(bs: ⇒ StreamT[M, A])(implicit m: Functor[M]): StreamT[M, A]
-
def
::(a: A)(implicit M: Applicative[M]): StreamT[M, A]
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
asStream(implicit ev: =:=[M[Step[A, StreamT[M, A]]], Id.Id[Step[A, StreamT[Id.Id, A]]]]): Stream[A]
-
def
clone(): AnyRef
-
def
drop(n: Int)(implicit M: Functor[M]): StreamT[M, A]
-
def
dropWhile(p: (A) ⇒ Boolean)(implicit m: Functor[M]): StreamT[M, A]
-
-
-
def
filter(p: (A) ⇒ Boolean)(implicit m: Functor[M]): StreamT[M, A]
-
def
finalize(): Unit
-
def
flatMap[B](f: (A) ⇒ StreamT[M, B])(implicit m: Functor[M]): StreamT[M, B]
-
def
foldLeft[B](z: B)(f: (B, A) ⇒ B)(implicit M: Monad[M]): M[B]
-
def
foldLeftRec[B](z: B)(f: (B, A) ⇒ B)(implicit M: BindRec[M]): M[B]
-
def
foldMap[B](f: (A) ⇒ B)(implicit M: Foldable[M], B: Monoid[B]): B
-
def
foldRight[B](z: ⇒ B)(f: (⇒ A, ⇒ B) ⇒ B)(implicit M: Monad[M]): M[B]
-
def
foldRightM[B](z: ⇒ M[B])(f: (⇒ A, ⇒ M[B]) ⇒ M[B])(implicit M: Monad[M]): M[B]
-
def
foldRightRec[B](z: ⇒ B)(f: (⇒ A, ⇒ B) ⇒ B)(implicit M: BindRec[M]): M[B]
-
def
foreach(f: (A) ⇒ M[Unit])(implicit M: Monad[M]): M[Unit]
-
def
foreachRec(f: (A) ⇒ M[Unit])(implicit M: Monad[M], B: BindRec[M]): M[Unit]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
head(implicit M: Monad[M]): M[A]
-
def
headOption(implicit M: Monad[M]): M[Option[A]]
-
def
headOptionRec(implicit M: BindRec[M]): M[Option[A]]
-
def
headRec(implicit M: BindRec[M]): M[A]
-
def
isEmpty(implicit M: Monad[M]): M[Boolean]
-
def
isEmptyRec(implicit M: BindRec[M]): M[Boolean]
-
final
def
isInstanceOf[T0]: Boolean
-
def
length(implicit m: Monad[M]): M[Int]
-
def
lengthRec(implicit M: BindRec[M]): M[Int]
-
def
map[B](f: (A) ⇒ B)(implicit m: Functor[M]): StreamT[M, B]
-
def
mapM[B](f: (A) ⇒ M[B])(implicit m: Monad[M]): StreamT[M, B]
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
step: M[Step[A, StreamT[M, A]]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
tail(implicit m: Functor[M]): StreamT[M, A]
-
def
tailM(implicit M: Monad[M]): M[StreamT[M, A]]
-
def
tailMRec(implicit M: BindRec[M]): M[StreamT[M, A]]
-
def
take(n: Int)(implicit M: Functor[M]): StreamT[M, A]
-
def
takeWhile(p: (A) ⇒ Boolean)(implicit m: Functor[M]): StreamT[M, A]
-
def
toStream(implicit M: Monad[M]): M[Stream[A]]
-
def
toStreamRec(implicit M: BindRec[M]): M[Stream[A]]
-
def
toString(): String
-
def
trans[N[_]](t: ~>[M, N])(implicit M: Functor[M], N: Functor[N]): StreamT[N, A]
-
def
uncons(implicit M: Monad[M]): M[Option[(A, StreamT[M, A])]]
-
def
unconsRec(implicit M: BindRec[M]): M[Option[(A, StreamT[M, A])]]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
StreamT monad transformer.