File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
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 (#213 )
1415
1516## [ v6.0.0] ( https://github.com/purescript/purescript-arrays/releases/tag/v6.0.0 ) - 2021-02-26
1617
Original file line number Diff line number Diff line change @@ -1052,7 +1052,7 @@ nubBy comp xs = case head indexedAndSorted of
10521052 Just x -> map snd $ sortWith fst $ ST .run do
10531053 -- TODO: use NonEmptyArrays here to avoid partial functions
10541054 result <- STA .unsafeThaw $ singleton x
1055- ST .foreach indexedAndSorted \pair@(Tuple i x') -> do
1055+ ST .foreach indexedAndSorted \pair@(Tuple _ x') -> do
10561056 lst <- snd <<< unsafePartial (fromJust <<< last) <$> STA .unsafeFreeze result
10571057 when (comp lst x' /= EQ ) $ void $ STA .push pair result
10581058 STA .unsafeFreeze result
You can’t perform that action at this time.
0 commit comments