Tree

sealed abstract class Tree[A]

Partially copied from Scalaz.

Partially copied from Scalaz.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def rootLabel: A

The label at the root of this tree.

The label at the root of this tree.

def subForest: LazyList[Tree[A]]

The child nodes of this tree.

The child nodes of this tree.

Concrete methods

def drawTree(sh: Show[A]): String

A 2D String representation of this Tree.

A 2D String representation of this Tree.

def flatten: Eval[LazyList[A]]

Pre-order traversal.

Pre-order traversal.