Skip to main content
Module

x/fun/optics.ts>Viewer

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 Viewer
import { type Viewer } from "https://deno.land/x/fun@v2.0.0-alpha.6/optics.ts";

Type Parameters

T extends Tag
S
A
definition: { readonly tag: T; readonly view: (s: S) => $<ToURI<T>, [A, never, never]>; }