[GHC] #7374: rule not firing
GHC
cvs-ghc at haskell.org
Fri Nov 2 05:11:00 CET 2012
#7374: rule not firing
---------------------------------+------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.6.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by igloo):
* cc: duncan@… (added)
Comment:
The ByteString rules are:
{{{
{-# RULES
"ByteString specialise break (x==)" forall x.
break ((==) x) = breakByte x
"ByteString specialise break (==x)" forall x.
break (==x) = breakByte x
#-}
}}}
I don't think your workaround would really help for the sort of use cases
that I imagine the rule is intended to help with.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7374#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list