Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fun/mod.ts>optic.FoldTag

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

A runtime tag and type that indicates an Optic has a view function of the form (s: S) => ReadonlyArray<A>.

type

"Fold"