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/foldable.ts";

Foldable is a structure that allows a function to all values inside of a structure. The reduction is accumulative and ordered.

§Functions

collect

§Interfaces

Foldable

A Foldable structure has the method fold.