[GHC] #13511: ApplicativeDo return case doesn't handle lets
GHC
ghc-devs at haskell.org
Tue Apr 4 13:06:34 UTC 2017
#13511: ApplicativeDo return case doesn't handle lets
-------------------------------------+-------------------------------------
Reporter: mnislaih | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 8.0.2
Resolution: | Keywords: ApplicativeDo
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonmar):
The `do` expression doesn't match the requirements as described in the
docs, so I don't think it's a bug. Perhaps we could expand the heuristics
to handle this case, but then the docs would get more complicated, and
where does it end?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13511#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list