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