Skip to main content
Module

x/fun/tree.ts>Tree

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
type alias Tree
import { type Tree } from "https://deno.land/x/fun@v2.0.0/tree.ts";

A Tree is a node with a single value and a Forest of children.

definition: { readonly value: A; readonly forest: Forest<A>; }