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

This is a constructor function, taking a single value A and optionally an array of Tree and returning a Tree.

Parameters

value: A
optional
forest: Forest<A> = [UNSUPPORTED]