scala.collection.immutable.Stream

class ConsWrapper

[source: scala/collection/immutable/Stream.scala]

class ConsWrapper[A](tl : => Stream[A])
extends AnyRef
A wrapper class that adds `#::` for cons and `#:::` for concat as operations to streams.
Method Summary
def #:: (hd : A) : Stream[A]
def #::: (prefix : Stream[A]) : Stream[A]
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def #::(hd : A) : Stream[A]

def #:::(prefix : Stream[A]) : Stream[A]