File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ type To k = PM.To k
100
100
101
101
traverseNodeInfo
102
102
:: Traversal (NodeInfo k a ) (NodeInfo k b ) a b
103
- traverseNodeInfo = PM. bitraverseNodeInfo pure (\ ( ~ Proxy ) -> pure Proxy )
103
+ traverseNodeInfo = PM. bitraverseNodeInfo pure (\ ~ Proxy -> pure Proxy )
104
104
105
105
-- | Create a 'PatchMapWithMove', validating it
106
106
patchMapWithMove :: Ord k => Map k (NodeInfo k v ) -> Maybe (PatchMapWithMove k v )
@@ -147,7 +147,7 @@ unsafePatchMapWithMove = PatchMapWithMove' . PM.unsafePatchMapWithPatchingMove
147
147
-- | Apply the insertions, deletions, and moves to a given 'Map'
148
148
instance Ord k => Patch (PatchMapWithMove k v ) where
149
149
type PatchTarget (PatchMapWithMove k v ) = Map k v
150
- apply (PatchMapWithMove' p) old = apply p old
150
+ apply (PatchMapWithMove' p) = apply p
151
151
152
152
-- | Returns all the new elements that will be added to the 'Map'.
153
153
patchMapWithMoveNewElements :: PatchMapWithMove k v -> [v ]
You can’t perform that action at this time.
0 commit comments