Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as fun from "https://raw.githubusercontent.com/baetheus/fun/main/free.ts";

This file contains the Free algebraic data type. Free is a data type that is used primarily to create a Combinable for any given data structure. It is useful when one wants to use combine things without deciding on a specific data structure to implement.

§Functions

apply
combine
flatmap
fold
getCombinable
isLink
isNode
link
map
match
node
wrap

§Interfaces

KindFree

§Type Aliases

Free
Link
Node