Tree

object Tree extends TreeInstances
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

object Leaf

Leaf represents a tree node with no children.

Leaf represents a tree node with no children.

You can use Leaf for tree construction or pattern matching.

object Node

Node represents a tree node that may have children.

Node represents a tree node that may have children.

You can use Node for tree construction or pattern matching.

Value members

Concrete methods

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

Implicits

Inherited implicits

implicit
def treeEqual[A](implicit A0: Equal[A]): Equal[Tree[A]]
Inherited from
TreeInstances
Inherited from
TreeInstances
Inherited from
TreeInstances
implicit
def treeOrder[A](implicit A0: Order[A]): Order[Tree[A]]
Inherited from
TreeInstances