Skip to main content
Module

x/fun/mod.ts>tree.getComparableTree

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

Create an instance of Comparable<Tree> from an instance of Comparable.

Parameters

unnamed 0: Comparable<A>

Returns

Comparable<Tree<A>>