/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2002-2009, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

// $Id: StreamCons.scala 16884 2009-01-09 16:52:09Z cunei $


package scala.runtime

final class StreamCons[T](xs: => Stream[T]) {
  def lazy_:: (x: T): Stream[T] = Stream.cons(x, xs)
  def lazy_::: (ys: Stream[T]): Stream[T] = ys append xs
}