/** * @tsplus static ImmutableArray.Ops separateWithIndexF */ export const separateWithIndexF = WiltableWithIndex.implementSeparateWithIndexF< number, ImmutableArray.HKT >()( (_: { A: A B: B G: G R: R E: E }) => (G: Applicative) => (f: (k: number, a: A) => HKT.Kind>) => ( fa: ImmutableArray ): HKT.Kind, ImmutableArray]> => G.map((self: ImmutableArray>) => self.separate)( ImmutableArray.forEachWithIndexF(G)(f)(fa) ) )