Skip to main content
Module

x/fun/these.ts>traverse

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

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]>