LazyList

ammonite.terminal.LazyList
See theLazyList companion object
case class LazyList[T](headThunk: () => T, tailThunk: () => LazyList[T])

A truly-lazy implementation of scala.Stream

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def dropPrefix(prefix: Seq[T]): Option[LazyList[T]]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def ~:(other: => T): LazyList[T]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val head: T
var rendered: Boolean
lazy val tail: LazyList[T]