Skip to main content
Module

x/fun/mod.ts>array.MonadArray

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
variable array.MonadArray
import { array } from "https://deno.land/x/fun@v2.0.0-alpha.6/mod.ts";
const { MonadArray } = array;

The canonical implementation of Monad for ReadonlyArray. It contains the methods of, ap, map, join, and chain.

type

Monad<URI>