Skip to main content
Module

x/fun/mod.ts>show.Show

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 show.Show
import { type show } from "https://deno.land/x/fun@v2.0.0-alpha.6/mod.ts";
const { Show } = show;

Show is the "fun" version of JavaScripts toString method. For algebraic data types that can be stringified it allows a structured way to do so.

Properties

readonly
show: (t: T) => string