- Companion
- class
Keywords
Inherited
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]]