scala / 3.1 / scala / collection / immutable / stream$$deferrer.html

Class scala.collection.immutable.Deferrer

final class Deferrer[A] extends AnyVal

Supertypes

Concrete methods

Source
def #::[B >: A](elem: B): Stream[B]

Construct a Stream consisting of a given first element followed by elements from another Stream.

Source
def #:::[B >: A](prefix: Stream[B]): Stream[B]

Construct a Stream consisting of the concatenation of the given Stream and another Stream.

© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/collection/immutable/Stream$$Deferrer.html