@@ -408,11 +408,13 @@ t_inits = L.inits `eqP` (map unpackS . T.inits)
408tl_inits = L.inits `eqP` (map unpackS . TL.inits)
408tl_inits = L.inits `eqP` (map unpackS . TL.inits)
409t_tails = L.tails `eqP` (map unpackS . T.tails)
409t_tails = L.tails `eqP` (map unpackS . T.tails)
410tl_tails = L.tails `eqP` (map unpackS . TL.tails)
410tl_tails = L.tails `eqP` (map unpackS . TL.tails)
411−t_findConcat (NotEmpty s) t = all (==t) $ map conc (T.find s t)
411+t_findAppendId (NotEmpty s) t = all (==t) $ map (uncurry T.append) (T.find s t)
412− where conc (a,b,c) = T.concat [a,b,c]
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 .
415+tl_findContains (NotEmpty s) = unsquare (all (TL.isPrefixOf s . snd) .
416+ TL.find s . TL.intercalate s)
413t_findCount s = (L.length . T.find s) `eq` T.count s
417t_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]
416tl_findCount s = (L.genericLength . TL.find s) `eq` TL.count s
418tl_findCount s = (L.genericLength . TL.find s) `eq` TL.count s
418t_split_split s = unsquare ((T.split s `eq` Slow.split s) .
420t_split_split s = unsquare ((T.split s `eq` Slow.split s) .
@@ -810,9 +812,11 @@ tests = [
812 testGroup "breaking many" [
814 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,
814 testProperty "t_findCount" t_findCount,
819 testProperty "t_findCount" t_findCount,
815− testProperty "tl_findConcat" tl_findConcat,
816 testProperty "tl_findCount" tl_findCount,
820 testProperty "tl_findCount" tl_findCount,
817 testProperty "t_split_split" t_split_split,
821 testProperty "t_split_split" t_split_split,
818 testProperty "tl_split_split" tl_split_split,
822 testProperty "tl_split_split" tl_split_split,