
#11692: Suggest default definition of Applicative -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: feature request | Status: closed Priority: normal | Milestone: Component: GHCi | Version: 8.1 Resolution: wontfix | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => wontfix Comment: Replying to [comment:1 hvr]:
Your suggested warning enhancement is in contradiction to the recommendation expressed in several places (migration guide, AMP wiki page etc, `-Wnoncanonical-monad-instances`) to define `return` in terms of `pure` rather than the other way round.
Wontfix it is. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11692#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler