[GHC] #8704: Use GHC.Exts.build in randoms, randomRs to achieve fusion

GHC ghc-devs at haskell.org
Mon Jan 27 11:24:20 UTC 2014


#8704: Use GHC.Exts.build in randoms, randomRs to achieve fusion
-------------------------------------+------------------------------------
        Reporter:  ion1              |            Owner:
            Type:  feature request   |           Status:  patch
        Priority:  normal            |        Milestone:
       Component:  libraries/random  |          Version:  7.6.3
      Resolution:                    |         Keywords:  fusion
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:  #4218
-------------------------------------+------------------------------------

Comment (by nomeata):

 Thanks for the patch, ion1.

 Just checking: Did you make sure that the fusion works as desired, e.g. by
 writing a very small example and comparing the resulting Core before and
 after?

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


More information about the ghc-tickets mailing list