Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fun/mod.ts>pair.KindPair

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

Specifies Pair as a Higher Kinded Type, with covariant parameters A and B corresponding to the 0th and 1st index of any Substitutions.

Properties

readonly
kind: Pair<Out<this, 0>, Out<this, 1>>