Tree

org.specs2.fp.Tree
See theTree companion class
object Tree

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tree.type

Members list

Type members

Classlikes

object Leaf

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Leaf.type
object Node

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Node.type

Value members

Concrete methods

def apply[A](root: => A): Tree[A]
def unfoldForest[A, B](s: LazyList[A])(f: A => (B, () => LazyList[A])): LazyList[Tree[B]]
def unfoldTree[A, B](v: A)(f: A => (B, () => LazyList[A])): Tree[B]