Skip to main content
Module

x/fun/mod.ts>tree.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.Tree
import { type tree } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { Tree } = tree;

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

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