Stream

beam.Stream$package.Stream
object Stream

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Stream.type

Members list

Type members

Types

type Underlying[A, U] = Computation[Step[A, U], U]

Value members

Concrete methods

inline def unwrapFun[A, B, U](thiz: A => Stream[B, U]): A => Underlying[B, U]
inline def unwrapFunEff[A, B, U, V](thiz: A => Computation[Stream[B, U], V]): A => Computation[Underlying[B, U], V]
inline def wrap[A, U](that: Underlying[A, U]): Stream[A, U]

Inherited methods

def apply[A](as: A*): Stream[A, Any]

Attributes

Inherited from:
Stream_opaque (hidden)
def coroutine[O, U](body: (fx: StreamEffect[O]) => Computation[Unit, U & fx.type]): Stream[O, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def empty: Stream[Nothing, Any]

Attributes

Inherited from:
Stream_opaque (hidden)
def from[A](as: IterableOnce[A]): Stream[A, Any]

Attributes

Inherited from:
Stream_opaque (hidden)
def iterate[A](a: A)(f: A => A): Stream[A, Any]

Attributes

Inherited from:
Stream_opaque (hidden)
def iterateEff[A, U](a: A)(f: A => Computation[A, U]): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def range[A : Numeric](start: A, endExclusive: A): Stream[A, Any]

Attributes

Inherited from:
Stream_opaque (hidden)
def range[A : Numeric](start: A, endExclusive: A, step: A): Stream[A, Any]

Attributes

Inherited from:
Stream_opaque (hidden)
def repeat[A](a: A): Stream[A, Any]

Attributes

Inherited from:
Stream_opaque (hidden)
def repeatEff[A, U](aa: Computation[A, U]): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def singleton[A](a: A): Stream[A, Any]

Attributes

Inherited from:
Stream_opaque (hidden)
def singletonEff[A, U](aa: Computation[A, U]): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def unfold[A, S](s: S)(f: S => Option[(A, S)]): Stream[A, Any]

Attributes

Inherited from:
Stream_opaque (hidden)
def unfoldEff[A, S, U](s: S)(f: S => Computation[Option[(A, S)], U]): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)

Inherited fields

val unit: Stream[Unit, Any]

Attributes

Inherited from:
Stream_opaque (hidden)

Extensions

Extensions

extension [A, U](thiz: Stream[A, U])
inline def unwrap: Underlying[A, U]

Inherited extensions

extension [A, U](thiz: Stream[A, U])
def >->[B](sink: Sink[A, B, U]): Computation[B, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def >->[B](pipe: Pipe[A, B, U]): Stream[B, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def append[B >: A, V <: U](that: Stream[B, V]): Stream[B, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def collect[B](f: PartialFunction[A, B]): Stream[B, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def collectEff[B, V <: U](f: PartialFunction[A, Computation[B, V]]): Stream[B, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def drain: Computation[Unit, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def drop(count: Long): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def filter(f: A => Boolean): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def filterEff[V <: U](f: A => Computation[Boolean, V]): Stream[A, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def filterNot(f: A => Boolean): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def filterNotEff[V <: U](f: A => Computation[Boolean, V]): Stream[A, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def filterWithPrevious(f: (A, A) => Boolean): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def filterWithPreviousEff[V <: U](f: (A, A) => Computation[Boolean, V]): Stream[A, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def flatMap[B, V <: U](f: A => Stream[B, V]): Stream[B, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def flatMapEff[B, V <: U](f: A => Computation[Stream[B, V], V]): Stream[B, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def fold[B](zero: B)(op: (B, A) => B): Computation[B, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def foldEff[B, V <: U](zero: B)(op: (B, A) => Computation[B, V]): Computation[B, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def foreach(f: A => Unit): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def foreachEff[V <: U](f: A => Computation[Unit, V]): Stream[A, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def forsome(f: PartialFunction[A, Unit]): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def forsomeEff[V <: U](f: PartialFunction[A, Computation[Unit, V]]): Stream[A, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def head: Computation[Option[A], U]

Attributes

Inherited from:
Stream_opaque (hidden)
def into[B, V <: U](sink: Sink[A, B, V]): Computation[B, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def map[B](f: A => B): Stream[B, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def mapEff[B, V <: U](f: A => Computation[B, V]): Stream[B, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def mapFilter[B](f: A => Option[B]): Stream[B, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def mapFilterEff[B, V <: U](f: A => Computation[Option[B], V]): Stream[B, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def tail: Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def take(count: Long): Stream[A, U]

Attributes

Inherited from:
Stream_opaque (hidden)
def through[B, V <: U](pipe: Pipe[A, B, V]): Stream[B, V]

Attributes

Inherited from:
Stream_opaque (hidden)
def toVector: Computation[Vector[A], U]

Attributes

Inherited from:
Stream_opaque (hidden)