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:
11
11
Bugfixes:
12
12
13
13
Other improvements:
14
+ - Fix warnings revealed by v0.14.1 PS release (#48 by @JordanMartinez )
14
15
15
16
## [ v2.0.0] ( https://github.com/purescript/purescript-ordered-collections/releases/tag/v2.0.0 ) - 2021-02-26
16
17
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ instance foldableWithIndexMap :: FoldableWithIndex k (Map k) where
125
125
foldMapWithIndex f m = foldMap (uncurry f) $ asList $ toUnfoldable m
126
126
127
127
instance traversableMap :: Traversable (Map k ) where
128
- traverse f Leaf = pure Leaf
128
+ traverse _ Leaf = pure Leaf
129
129
traverse f (Two left k v right) =
130
130
Two <$> traverse f left
131
131
<*> pure k
@@ -142,7 +142,7 @@ instance traversableMap :: Traversable (Map k) where
142
142
sequence = traverse identity
143
143
144
144
instance traversableWithIndexMap :: TraversableWithIndex k (Map k ) where
145
- traverseWithIndex f Leaf = pure Leaf
145
+ traverseWithIndex _ Leaf = pure Leaf
146
146
traverseWithIndex f (Two left k v right) =
147
147
Two <$> traverseWithIndex f left
148
148
<*> pure k
You can’t perform that action at this time.
0 commit comments