Skip to main content
Module

x/fun/decoder.ts>Many

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

The Many type is used to represent zero or more DecodeErrors without context. It's purpose is to be used as both Empty and a target for combineenation of DecodeErrors that are neither Union or Intersection types. This allows us to build a Combinable over DecodeError.

definition: { readonly tag: "Many"; readonly errors: readonly DecodeError[]; }