Skip to main content
Module

x/fun/schemable.ts>Schema

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
type alias Schema
import { type Schema } from "https://deno.land/x/fun@v2.0.0/schemable.ts";

A Schema is the a function that takes a generic schemable and builds a specific model from it.

Type Parameters

A
optional
B = unknown
optional
C = unknown
optional
D = unknown
optional
E = unknown
definition: <U extends Kind>(S: Schemable<U>) => $<U, [A, B, C], [D], [E]>