/** * @tsplus type WitherableWithIndex */ export interface WitherableWithIndex { readonly Law: { readonly WitherableWithIndex: "WitherableWithIndex" } readonly compactWithIndexF: WitherWithIndex } /** * @tsplus type WitherableWithIndex/Ops */ export interface WitherableWithIndexOps {} export const WitherableWithIndex: WitherableWithIndexOps = {} export interface WitherWithIndex extends HKT.Typeclass { (F: Applicative): ( f: (k: K, a: A) => HKT.Kind> ) => ( ta: HKT.Kind ) => HKT.Kind> } /** * @tsplus static WitherableWithIndex/Ops implementCompactWithIndexF */ export function implementCompactWithIndexF(): ( i: (_: { A: A B: B G: G FR: FR FE: FE }) => ( G: Applicative ) => ( f: (k: K, a: A) => HKT.Kind> ) => (ta: HKT.Kind) => HKT.Kind> ) => WitherWithIndex export function implementCompactWithIndexF() { return (i: any) => i() }