Skip to main content
Module

x/fun/mod.ts>schemable.RecordSchemable

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

Takes a Schemable and returns a Schemable<ReadonlyRecord>

Type Parameters

U extends Kind

Properties

readonly
record: <A, B, C, D, E>(codomain: $<U, [A, B, C], [D], [E]>) => $<U, [ReadonlyRecord<A>, B, C], [D], [E]>