GenTree

object GenTree extends GenTreeInstances
Companion
class
trait Sum
trait Mirror
class GenTreeInstances
class Object
trait Matchable
class Any

Type members

Classlikes

final case
class Button[+N, +L](at: GenTree[N, L], ancestry: List[Node[N, L]])
final case
class Leaf[+L](value: L) extends GenTree[Nothing, L]
final case
class Node[+N, +L](value: N, left: GenTree[N, L], right: GenTree[N, L]) extends GenTree[N, L]

Types

type Oriented[+A] = Either[A, A]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def apply[L](value: L): GenTree[Nothing, L]
def apply[N, L](value: N, left: GenTree[N, L], right: GenTree[N, L]): GenTree[N, L]
def unapply[N, L](tree: GenTree[N, L]): Some[(Either[N, L], Option[GenTree[N, L]], Option[GenTree[N, L]])]

Inherited fields

final lazy
Inherited from
GenTreeInstances

Givens

Inherited givens

given Eq_GenTree[N, L]: Eq[GenTree[N, L]]
Inherited from
GenTreeInstances
given Show_GenTree[N, L]: Show[GenTree[N, L]]
Inherited from
GenTreeInstances
Inherited from
GenTreeInstances
Inherited from
GenTreeInstances