[GHC] #11344: Rule "and/build" not firing

GHC ghc-devs at haskell.org
Mon Jan 4 09:11:05 UTC 2016


#11344: Rule "and/build" not firing
-------------------------------------+-------------------------------------
        Reporter:  j.waldmann        |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:  duplicate         |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #9848             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by nomeata):

 * status:  new => closed
 * resolution:   => duplicate
 * related:   => #9848


Comment:

 This is a regression due to BBP: `and` no longer is `GHC.OldList.and` (if
 you import that, it works), but rather
 {{{
 and :: Foldable t => t Bool -> Bool
 and = getAll #. foldMap All
 }}}

 `foldMap` has been modified to fuse better since then, see #9848.

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


More information about the ghc-tickets mailing list