Skip to content

Commit 4fb60c4

Browse files
committed
Make hlint stop complaining
1 parent cfcd1cf commit 4fb60c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Data/Patch/MapWithMove.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ type To k = PM.To k
100100

101101
traverseNodeInfo
102102
:: 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)
104104

105105
-- | Create a 'PatchMapWithMove', validating it
106106
patchMapWithMove :: Ord k => Map k (NodeInfo k v) -> Maybe (PatchMapWithMove k v)
@@ -147,7 +147,7 @@ unsafePatchMapWithMove = PatchMapWithMove' . PM.unsafePatchMapWithPatchingMove
147147
-- | Apply the insertions, deletions, and moves to a given 'Map'
148148
instance Ord k => Patch (PatchMapWithMove k v) where
149149
type PatchTarget (PatchMapWithMove k v) = Map k v
150-
apply (PatchMapWithMove' p) old = apply p old
150+
apply (PatchMapWithMove' p) = apply p
151151

152152
-- | Returns all the new elements that will be added to the 'Map'.
153153
patchMapWithMoveNewElements :: PatchMapWithMove k v -> [v]

0 commit comments

Comments
 (0)