Node

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.

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[A](root: => A, forest: => LazyList[Tree[A]]): Tree[A]
def unapply[A](t: Tree[A]): Option[(A, LazyList[Tree[A]])]