Packages

class ConsWrapper[A] extends AnyRef

A wrapper class that adds #:: for cons and #::: for concat as operations to streams.

Source
Stream.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConsWrapper
  2. AnyRef
  3. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConsWrapper(tl: ⇒ Stream[A])

Value Members

  1. def #::[B >: A](hd: B): Stream[B]

    Construct a stream consisting of a given first element followed by elements from a lazily evaluated Stream.

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

    Construct a stream consisting of the concatenation of the given stream and a lazily evaluated Stream.

  3. def toParArray: ParArray[T]
    Implicit
    This member is added by an implicit conversion from ConsWrapper[A] to CollectionsHaveToParArray[ConsWrapper[A], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (ConsWrapper[A]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray