object stream extends StreamInstances with StreamFunctions
- Source
- Stream.scala
- Alphabetic
- By Inheritance
- stream
- StreamFunctions
- StreamInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def heads[A](as: Stream[A]): Stream[Stream[A]]
[as take 1, as take 2, ..., as]
[as take 1, as take 2, ..., as]
- Definition Classes
- StreamFunctions
- final def interleave[A](s1: Stream[A], s2: Stream[A]): Stream[A]
- Definition Classes
- StreamFunctions
- final def intersperse[A](as: Stream[A], a: A): Stream[A]
Intersperse the element
a
between each adjacent pair of elements inas
Intersperse the element
a
between each adjacent pair of elements inas
- Definition Classes
- StreamFunctions
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def streamEqual[A](implicit A0: Equal[A]): Equal[Stream[A]]
- Definition Classes
- StreamInstances
- implicit val streamInstance: Traverse[Stream] with MonadPlus[Stream] with Alt[Stream] with BindRec[Stream] with Zip[Stream] with Unzip[Stream] with Align[Stream] with IsEmpty[Stream] with Cobind[Stream]
- Definition Classes
- StreamInstances
- implicit def streamMonoid[A]: Monoid[Stream[A]]
- Definition Classes
- StreamInstances
- implicit def streamOrder[A](implicit A0: Order[A]): Order[Stream[A]]
- Definition Classes
- StreamInstances
- implicit def streamShow[A](implicit A0: Show[A]): Show[Stream[A]]
- Definition Classes
- StreamInstances
- implicit val streamZipApplicative: Applicative[[α]TagKind.@@[Stream[α], Tags.Zip]]
An alternative scalaz.Applicative instance for
Stream
, discriminated by the type tag scalaz.Tags.Zip, that zips streams together.An alternative scalaz.Applicative instance for
Stream
, discriminated by the type tag scalaz.Tags.Zip, that zips streams together.Example:
import scalaz.Tags.Zip streamZipApplicative.apply2(Zip(Stream(1, 2)), Zip(Stream(3, 4)))(_ * _) // Stream(3, 8)
- Definition Classes
- StreamInstances
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def tails[A](as: Stream[A]): Stream[Stream[A]]
[as, as.tail, as.tail.tail, ..., Stream(as.last)]
[as, as.tail, as.tail.tail, ..., Stream(as.last)]
- Definition Classes
- StreamFunctions
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def toZipper[A](as: Stream[A]): Maybe[Zipper[A]]
- Definition Classes
- StreamFunctions
- def unfold[A, B](seed: A)(f: (A) => Option[(B, A)]): Stream[B]
- Definition Classes
- StreamFunctions
- final def unfoldForest[A, B](as: Stream[A])(f: (A) => (B, () => Stream[A])): Stream[Tree[B]]
- Definition Classes
- StreamFunctions
- final def unfoldForestM[A, B, M[_]](as: Stream[A])(f: (A) => M[(B, Stream[A])])(implicit arg0: Monad[M]): M[Stream[Tree[B]]]
- Definition Classes
- StreamFunctions
- def unfoldm[A, B](seed: A)(f: (A) => Maybe[(B, A)]): Stream[B]
- Definition Classes
- StreamFunctions
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def zapp[A, B, C](a: Stream[A])(f: Stream[(A) => (B) => C]): Stream[(B) => C]
- Definition Classes
- StreamFunctions
- final def zipperEnd[A](as: Stream[A]): Maybe[Zipper[A]]
- Definition Classes
- StreamFunctions
- object streamSyntax extends ToStreamOps