Skip to main content
Module

x/fun/traversable.ts>Traversable

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 Traversable
implements Functor<U>, Foldable<U>, TypeClass<U>
import { type Traversable } from "https://deno.land/x/fun@v.2.0.0-alpha.11/traversable.ts";

Properties

readonly
traverse: <VRI extends Kind>(A: Applicative<VRI>) => <A, I, J, K, L, M>(faui: (a: A) => $<VRI, [I, J, K], [L], [M]>) => <B, C, D, E>(ta: $<U, [A, B, C], [D], [E]>) => $<VRI, [$<U, [I, B, C], [D], [E]>, J, K], [L], [M]>