Skip to content

Commit

Permalink
Satisfy hlint.
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Jun 29, 2023
1 parent a07b402 commit cbdad84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stack/Unpack.hs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ longestUnique ::
[(PackageName, RawPackageLocationImmutable)]
-> [(PackageName, RawPackageLocationImmutable)]
longestUnique xs =
L.concat $ L.groupBy (\(_, p1) (_, p2) -> p1 == p2) (L.take 1 $ L.sortBy (flip (comparing fst)) xs)
L.concat $ L.groupBy (\(_, p1) (_, p2) -> p1 == p2) (L.take 1 $ L.sortOn (Down . fst) xs)

unpackMessage :: Display a => a -> Path Abs Dir -> [StyleDoc]
unpackMessage loc dest =
Expand Down

0 comments on commit cbdad84

Please sign in to comment.