Skip to main content
Module

x/fun/either.ts>traverse

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

Returns

<A, I, J, K, L, M>(faui: (a: A) => $<V, [I, J, K], [L], [M]>) => <B>(ta: Either<B, A>) => $<V, [Either<B, I>, J, K], [L], [M]>