Skip to main content
Module

x/fun/mod.ts>optics.AffineTag

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
type alias optics.AffineTag
import { type optics } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { AffineTag } = optics;
definition: AffineTag
variable optics.AffineTag
import { optics } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { AffineTag } = optics;

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

type

"Affine"