Skip to content

Commit cbdad84

Browse files
committed
Satisfy hlint.
1 parent a07b402 commit cbdad84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stack/Unpack.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ longestUnique ::
248248
[(PackageName, RawPackageLocationImmutable)]
249249
-> [(PackageName, RawPackageLocationImmutable)]
250250
longestUnique xs =
251-
L.concat $ L.groupBy (\(_, p1) (_, p2) -> p1 == p2) (L.take 1 $ L.sortBy (flip (comparing fst)) xs)
251+
L.concat $ L.groupBy (\(_, p1) (_, p2) -> p1 == p2) (L.take 1 $ L.sortOn (Down . fst) xs)
252252

253253
unpackMessage :: Display a => a -> Path Abs Dir -> [StyleDoc]
254254
unpackMessage loc dest =

0 commit comments

Comments
 (0)