
#10645: Fix Data.List.sortOn documentation -------------------------------------+------------------------------------- Reporter: spl | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: | Version: 7.10.2-rc2 libraries/base | Operating System: Unknown/Multiple Keywords: | Type of failure: Documentation Architecture: | bug Unknown/Multiple | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- The {{{sortOn}}} documentation says: {{{ @sortOn f@ is equivalent to @sortBy . comparing f@ }}} but this is not correct (it does not type-check). It should say: {{{ @sortOn f@ is equivalent to @sortBy (comparing f)@ }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10645 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler