[GHC] #12490: With RebindableSyntax, ApplicativeDo should eliminate return/pure

GHC ghc-devs at haskell.org
Wed Aug 31 18:20:16 UTC 2016


#12490: With RebindableSyntax, ApplicativeDo should eliminate return/pure
-------------------------------------+-------------------------------------
        Reporter:  AaronFriel        |                Owner:  simonmar
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2499
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  new => patch
 * differential:   => Phab:D2499
 * milestone:   => 8.0.2


Comment:

 My original concern was that we wouldn't have a environment handy in the
 renamer to lookup which binding should be used for `return`. As it turns
 out this concern was ill-founded.

 I have a fix in Phab:D2499. Happily I think it's even simple enough to
 include in 8.0.2.

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


More information about the ghc-tickets mailing list