Skip to main content
Module

x/fun/mod.ts>pair.getShowablePair

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

Creates a Showable instance for a pair, wrapping the Showable instances provided for the first and second values.

Parameters

SA: Showable<A>
SB: Showable<B>

Returns

Showable<Pair<A, B>>