Skip to main content
Module

x/fun/schemable.ts>LiteralSchemable

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

Wraps a union of literals in Schemable.

Properties

readonly
literal: <A extends NonEmptyArray<Literal>, B, C, D, E>(...s: A) => $<U, [A[number], B, C], [D], [E]>