Bryan O'Sullivan committed 242aea9

Remove a rewrite rule that makes GHC 7.4.1 ill

The effect of the rule was to make isPrefixOf infloop; see [GHC bug
5783]( for details.

This fixes gh-16.

  • Participants
  • Parent commits e11de2c

Comments (0)

Files changed (1)

File Data/Text.hs

 {-# RULES
 "TEXT isPrefixOf -> fused" [~1] forall s t.
     isPrefixOf s t = S.isPrefixOf (stream s) (stream t)
-"TEXT isPrefixOf -> unfused" [1] forall s t.
-    S.isPrefixOf (stream s) (stream t) = isPrefixOf s t
 -- | /O(n)/ The 'isSuffixOf' function takes two 'Text's and returns