File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ New features:
1111Bugfixes:
1212
1313Other improvements:
14+ - Fix warnings revealed by v0.14.1 PS release (#48 by @JordanMartinez )
1415
1516## [ v2.0.0] ( https://github.com/purescript/purescript-ordered-collections/releases/tag/v2.0.0 ) - 2021-02-26
1617
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ instance foldableWithIndexMap :: FoldableWithIndex k (Map k) where
125125 foldMapWithIndex f m = foldMap (uncurry f) $ asList $ toUnfoldable m
126126
127127instance traversableMap :: Traversable (Map k ) where
128- traverse f Leaf = pure Leaf
128+ traverse _ Leaf = pure Leaf
129129 traverse f (Two left k v right) =
130130 Two <$> traverse f left
131131 <*> pure k
@@ -142,7 +142,7 @@ instance traversableMap :: Traversable (Map k) where
142142 sequence = traverse identity
143143
144144instance traversableWithIndexMap :: TraversableWithIndex k (Map k ) where
145- traverseWithIndex f Leaf = pure Leaf
145+ traverseWithIndex _ Leaf = pure Leaf
146146 traverseWithIndex f (Two left k v right) =
147147 Two <$> traverseWithIndex f left
148148 <*> pure k
You can’t perform that action at this time.
0 commit comments