Skip to content

Commit

Permalink
Merge pull request ghc#150 from tweag/lt/restore/issue-97
Browse files Browse the repository at this point in the history
Revert workaround
  • Loading branch information
aspiwack committed Oct 17, 2018
2 parents c8b3bd4 + 6ef037a commit ccddd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/base/Data/OldList.hs
Expand Up @@ -920,7 +920,7 @@ sort :: (Ord a) => [a] -> [a]
--
-- >>> sortBy (\(a,_) (b,_) -> compare a b) [(2, "world"), (4, "!"), (1, "Hello")]
-- [(1,"Hello"),(2,"world"),(4,"!")]
sortBy :: forall a . (a -> a -> Ordering) -> [a] -> [a]
sortBy :: (a -> a -> Ordering) -> [a] -> [a]

#if defined(USE_REPORT_PRELUDE)
sort = sortBy compare
Expand Down

0 comments on commit ccddd26

Please sign in to comment.