Lazy

com.phasmidsoftware.lascala.fp.Lazy
trait Lazy[T] extends () => T

Created by scalaprof on 8/22/16.

Attributes

Graph
Supertypes
trait () => T
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def flatMap[U](f: T => Lazy[U]): Lazy[U]
def foreach[U](f: T => U): Unit
def unit[U](x: => U): Lazy[U]
def viable: Boolean

Concrete methods

def map[U](f: T => U): Lazy[U]

Inherited methods

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
Function0 -> Any
Inherited from:
Function0

Inherited and Abstract methods

def apply(): T

Applies the body of this function to the arguments.

Applies the body of this function to the arguments.

Attributes

Returns

the result of function application.

Inherited from:
Function0