@@ -45,7 +45,8 @@ instance Patch (PatchIntMap a) where
45instance FunctorWithIndex Int PatchIntMap
45instance FunctorWithIndex Int PatchIntMap
46instance FoldableWithIndex Int PatchIntMap
46instance FoldableWithIndex Int PatchIntMap
47instance TraversableWithIndex Int PatchIntMap where
47instance TraversableWithIndex Int PatchIntMap where
48+ itraverse = itraversed . Indexed
48− itraversed = _Wrapped . itraversed . traversed
49+ itraversed = _Wrapped .> itraversed <. traversed
50-- | Map a function @Int -> a -> b@ over all @a@s in the given @'PatchIntMap' a@
51-- | Map a function @Int -> a -> b@ over all @a@s in the given @'PatchIntMap' a@
51-- (that is, all inserts/updates), producing a @PatchIntMap b@.
52-- (that is, all inserts/updates), producing a @PatchIntMap b@.