[GHC] #14364: Reduce repetition in derived Read instances

GHC ghc-devs at haskell.org
Thu Oct 26 15:20:16 UTC 2017


#14364: Reduce repetition in derived Read instances
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  task              |               Status:  closed
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.2.1
      Resolution:  fixed             |             Keywords:  deriving
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10980 #7258      |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Comment:8 nails this.

 One additional change that we may investigate in the future is to emit
 `Applicative` parsers instead of using monadic bind. tdammers did some
 experiments and found that this helped compilation time quite dramatically
 in the unoptimized case although hurt when optimization was enabled.

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


More information about the ghc-tickets mailing list