This rule wasn't firing because I'm rewriting bottom-up instead of top-down, so the name "concat" was being qualified before the app was inspected. Here's the qualified version of the rule instead.
This rule is important for simplifying constant strings before they hit GHC. It removes a bunch of redundant concat ["foo"].
Reinstating this rule shrinks the output a bit, which helps us dodge the random GHC panics for a little longer. Seems to be a GHC bug in 7.10.2 rather than something we're doing wrong.
This rule wasn't firing because I'm rewriting bottom-up instead of top-down, so the name "concat" was being qualified before the app was inspected. Here's the qualified version of the rule instead.
This rule is important for simplifying constant strings before they hit GHC. It removes a bunch of redundant
concat ["foo"]
.! @charleso /jury approved @charleso