Create a branch from its value and a non-empty list of children. This is
exactly like TreeF except the return type is the branch type and
you cannot call it with no leaves.
Under the key tupled you will find a tupled version and under flipped a
version where the arguments are flipped in order.
Create a branch from its value and a non-empty list of children. This is exactly like TreeF except the return type is the branch type and you cannot call it with no leaves.
Under the key
tupledyou will find a tupled version and underflippeda version where the arguments are flipped in order.Example
Type Param: A
The underlying type of the tree. For example, in a numeric tree it would be
number.Type Param: C
The child node type, also called the carrier type.