Skip to main content
Module

x/fun/mod.ts>these.traverse

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

Type Parameters

U extends Kind

Parameters

A: Applicable<U>

Returns

<A, I, J, K, L, M>(favi: (a: A) => $<U, [I, J, K], [L], [M]>) => <B>(ta: These<B, A>) => $<U, [These<B, I>, J, K], [L], [M]>