Skip to main content
Module

x/fun/mod.ts>schemable.ArraySchemable

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
interface schemable.ArraySchemable
implements Hold<U>
import { type schemable } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { ArraySchemable } = schemable;

Takes a Schemable and returns a Schemable<ReadonlyArray>

Type Parameters

U extends Kind

Properties

readonly
array: <A, B, C, D, E>(item: $<U, [A, B, C], [D], [E]>) => $<U, [ReadonlyArray<A>, B, C], [D], [E]>