
#13905: ApplicativeDo is too strict with newtype patterns -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by dfeuer): I'm not trying to be annoying, but may I ask why you don't think it's fixable? Don't we already know, at this point, where the constructor name comes from? I see the documentation, and the documentation is fine, but I suspect idiomatic code will run into this, and people will likely be surprised to see explicit `~` laziness around newtype constructors. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13905#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler