Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getShowableSet

import { getShowableSet } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/set.ts";

Given an instance of Showable return an instance of Showable<ReadonlySet>.

@example
import * as S from "./set.ts";
import * as N from "./number.ts";

const { show } = S.getShowableSet(N.ShowableNumber);

const result1 = show(S.init()); // "Set([])"
const result2 = show(S.set(1, 2, 3)); // "Set([1, 2, 3])"
function getShowableSet<A>(S: Showable<A>): Showable<ReadonlySet<A>>;
§
getShowableSet<A>(S: Showable<A>): Showable<ReadonlySet<A>>
[src]

§Type Parameters

§Parameters

§Return Type

§
Showable<ReadonlySet<A>>
[src]