Skip to main content
Module

x/hkts/type_classes.ts>IndexedFunctor

Functional programming tools: option, either, task, state, optics, etc.
Latest
interface IndexedFunctor
import { type IndexedFunctor } from "https://deno.land/x/hkts@v0.0.52/type_classes.ts";

Type Parameters

URI extends URIS
optional
Index = number

Properties

readonly
map: <A, I>(fai: (a: A, i: Index) => I) => <B, C, D>(ta: Kind<URI,
[
A,
B,
C,
D,
]
>
) => Kind<URI,
[
I,
B,
C,
D,
]
>