import { addIndex } from "https://deno.land/x/fae@v1.1.1/addIndex.ts";
Returns a new iteration function from the passed function by adding two more parameters to its callback function
- the current index
- the entire list The passed function must have first argument as the iteration functions and last arguments as the list