[GHC] #13511: ApplicativeDo return case doesn't handle lets (was: ApplicativeDo incorrectly requiring Monad)

GHC ghc-devs at haskell.org
Sun Apr 2 14:55:11 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:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * milestone:   => 8.4.1


Comment:

 Perhaps the users guide language could be improved. Currently the `return`
 case is a rather narrow, purely syntactic rewrite which does not handle
 `let`s.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13511#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list