@@ -408,11 +408,13 @@ t_inits = L.inits `eqP` (map unpackS . T.inits)
408408tl_inits = L.inits `eqP` (map unpackS . TL.inits)
409409t_tails = L.tails `eqP` (map unpackS . T.tails)
410410tl_tails = L.tails `eqP` (map unpackS . TL.tails)
411−t_findConcat (NotEmpty s) t = all (==t) $ map conc (T.find s t)
412− where conc (a,b,c) = T.concat [a,b,c]
411+t_findAppendId (NotEmpty s) t = all (==t) $ map (uncurry T.append) (T.find s t)
412+tl_findAppendId (NotEmpty s) t = all (==t) $ map (uncurry TL.append) (TL.find s t)
413+t_findContains (NotEmpty s) = unsquare (all (T.isPrefixOf s . snd) . T.find s .
414+ T.intercalate s)
415+tl_findContains (NotEmpty s) = unsquare (all (TL.isPrefixOf s . snd) .
416+ TL.find s . TL.intercalate s)
413417t_findCount s = (L.length . T.find s) `eq` T.count s
414−tl_findConcat (NotEmpty s) t = all (==t) $ map conc (TL.find s t)
415− where conc (a,b,c) = TL.concat [a,b,c]
416418tl_findCount s = (L.genericLength . TL.find s) `eq` TL.count s
417419
418420t_split_split s = unsquare ((T.split s `eq` Slow.split s) .
@@ -810,9 +812,11 @@ tests = [
810812 ],
811813
812814 testGroup "breaking many" [
813− testProperty "t_findConcat" t_findConcat,
815+ testProperty "t_findAppendId" t_findAppendId,
816+ testProperty "tl_findAppendId" tl_findAppendId,
817+ testProperty "t_findContains" t_findContains,
818+ testProperty "tl_findContains" tl_findContains,
814819 testProperty "t_findCount" t_findCount,
815− testProperty "tl_findConcat" tl_findConcat,
816820 testProperty "tl_findCount" tl_findCount,
817821 testProperty "t_split_split" t_split_split,
818822 testProperty "tl_split_split" tl_split_split,