Stream

beam.Stream
See theStream companion class
object Stream

Attributes

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

Members list

Type members

Classlikes

abstract class Unsealed[A, U] extends Stream[A, U]

Attributes

Supertypes
class Stream[A, U]
class Object
trait Matchable
class Any
Known subtypes
class StreamImpl[A, U]

Types

type Decons[A, U] = Option[(A, Stream[A, U])]

Value members

Concrete methods

def apply[A](as: A*): Stream[A, Any]
def empty[A]: Stream[Nothing, Any]
def emptyEff[U](comp: Computation[Unit, U]): Stream[Nothing, U]
def flattenStream[A, U](comp: Computation[Stream[A, U], U]): Stream[A, U]
def from[A](aa: IterableOnce[A]): Stream[A, Any]
def iterate[A](initial: A)(f: A => A): Stream[A, Any]
def iterateEff[A, U](initial: A)(f: A => Computation[A, U]): Stream[A, U]
def mergeWithEff[A, B, C, U <: IO](lhs: Stream[A, U], rhs: Stream[B, U])(f: (Either[A, B]) => Computation[C, U]): Stream[C, U]
def range[A : Numeric](start: A, endExclusive: A, step: A): Stream[A, Any]
def repeat[A](value: A): Stream[A, Any]
def repeatEff[A, U](comp: Computation[A, U]): Stream[A, U]
def singleton[A](a: A): Stream[A, Any]
def singletonEff[A, U](comp: Computation[A, U]): Stream[A, U]
def unfold[A, S](s: S)(f: S => Option[(A, S)]): Stream[A, Any]
def unfoldEff[A, S, U](s: S)(f: S => Computation[Option[(A, S)], U]): Stream[A, U]

Concrete fields

val nothing: Stream[Nothing, Any]
val unit: Stream[Unit, Any]