Skip to main content
Module

x/fun/mod.ts>schemable.Schema

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 schemable.Schema
import { type schemable } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { Schema } = schemable;

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]>