Migrate indexed type class instances to optics-0.4
masterIn optics-0.4, the FunctorWithIndex, FoldableWithIndex, and TraversableWithIndex type classes have been moved to the indexed-traversable package.
If you define your own instances for these classes, you should now depend directly on indexed-traversable.
Warning on Duplicates: The lens package (versions < 5) defines similar classes and is also migrating to indexed-traversable. If your package defines both the old optics versions and the new indexed-traversable versions, you may encounter duplicate instance errors.