Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fun/optics.ts>array

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

Construct an Optic over the values of a ReadonlyArray

type

<U extends Tag, S, A>(first: Optic<U, S, ReadonlyArray<A>>) => Optic<Align<U, FoldTag>, S, A>