scala.collection.immutable.Stream

object #::

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

object #::
extends AnyRef
An extractor that allows to pattern match streams with `#::`.
Method Summary
def unapply [A](xs : Stream[A]) : Option[(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 unapply[A](xs : Stream[A]) : Option[(A, Stream[A])]