/** * @tsplus type ForEachWithIndex */ export type ForEachWithIndex = { readonly Law: { readonly ForEachWithIndex: "ForEachWithIndex" } readonly forEachWithIndexF: ForEachWithIndex.Fn } & Covariant /** * @tsplus type ForEachWithIndex/Ops */ export interface ForEachWithIndexOps {} export const ForEachWithIndex: ForEachWithIndexOps = {} export declare namespace ForEachWithIndex { export interface Fn { (G_: IdentityBoth & Covariant): ( f: (k: K, a: A) => HKT.Kind ) => ( fa: HKT.Kind ) => HKT.Kind> } } /** * @tsplus static ForEachWithIndex/Ops implementForEachWithIndexF */ export function implementForEachWithIndexF(): ( i: (_: { A: A B: B G: G R: R E: E }) => ( G: IdentityBoth & Covariant ) => ( f: (k: K, a: A) => HKT.Kind ) => (fa: HKT.Kind) => HKT.Kind> ) => ForEachWithIndex.Fn export function implementForEachWithIndexF() { return (i: any) => i() }