
#10830: maximumBy has a space leak -------------------------------------+------------------------------------- Reporter: NeilMitchell | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.10.3 Component: libraries/base | Version: 7.10.2 Resolution: fixed | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:D1205 -------------------------------------+------------------------------------- Comment (by nomeata): Replying to [comment:9 rwbarton]:
Is #10788 related, btw?
Only morally related, not technially: `minimumBy` goes via `Foldable` stuff, so we end up with `foldr1`, while `minimum` is (yet) a member of the class and for lists, a direct definition is given, which has the inlining difficulties discussed in #10788. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10830#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler