@@ -511,17 +511,17 @@ t_tails = L.tails `eqP` (map unpackS . T.tails)
511tl_tails = L.tails `eqP` (map unpackS . TL.tails)
511tl_tails = L.tails `eqP` (map unpackS . TL.tails)
512t_findAppendId (NotEmpty s) = unsquare $ \ts ->
512t_findAppendId (NotEmpty s) = unsquare $ \ts ->
513 let t = T.intercalate s ts
513 let t = T.intercalate s ts
514− in all (==t) $ map (uncurry T.append) (T.find s t)
514+ in all (==t) $ map (uncurry T.append) (T.breakOnAll s t)
515tl_findAppendId (NotEmpty s) = unsquare $ \ts ->
515tl_findAppendId (NotEmpty s) = unsquare $ \ts ->
516 let t = TL.intercalate s ts
516 let t = TL.intercalate s ts
517− in all (==t) $ map (uncurry TL.append) (TL.find s t)
517+ in all (==t) $ map (uncurry TL.append) (TL.breakOnAll s t)
518−t_findContains (NotEmpty s) = all (T.isPrefixOf s . snd) . T.find s .
518+t_findContains (NotEmpty s) = all (T.isPrefixOf s . snd) . T.breakOnAll s .
519 T.intercalate s
519 T.intercalate s
520tl_findContains (NotEmpty s) = all (TL.isPrefixOf s . snd) .
520tl_findContains (NotEmpty s) = all (TL.isPrefixOf s . snd) .
521− TL.find s . TL.intercalate s
521+ TL.breakOnAll s . TL.intercalate s
522sl_filterCount c = (L.genericLength . L.filter (==c)) `eqP` SL.countChar c
522sl_filterCount c = (L.genericLength . L.filter (==c)) `eqP` SL.countChar c
523−t_findCount s = (L.length . T.find s) `eq` T.count s
523+t_findCount s = (L.length . T.breakOnAll s) `eq` T.count s
524−tl_findCount s = (L.genericLength . TL.find s) `eq` TL.count s
524+tl_findCount s = (L.genericLength . TL.breakOnAll s) `eq` TL.count s
526t_split_split s = (T.split s `eq` Slow.split s) . T.intercalate s
526t_split_split s = (T.split s `eq` Slow.split s) . T.intercalate s
527tl_split_split s = ((TL.split (TL.fromStrict s) . TL.fromStrict) `eq`
527tl_split_split s = ((TL.split (TL.fromStrict s) . TL.fromStrict) `eq`
@@ -597,8 +597,8 @@ sf_filter q p = (L.filter p . L.filter q) `eqP`
597t_filter p = L.filter p `eqP` (unpackS . T.filter p)
597t_filter p = L.filter p `eqP` (unpackS . T.filter p)
598tl_filter p = L.filter p `eqP` (unpackS . TL.filter p)
598tl_filter p = L.filter p `eqP` (unpackS . TL.filter p)
599sf_findBy q p = (L.find p . L.filter q) `eqP` (S.findBy p . S.filter q)
599sf_findBy q p = (L.find p . L.filter q) `eqP` (S.findBy p . S.filter q)
600−t_findBy p = L.find p `eqP` T.findBy p
600+t_find p = L.find p `eqP` T.find p
601−tl_findBy p = L.find p `eqP` TL.findBy p
601+tl_find p = L.find p `eqP` TL.find p
602t_partition p = L.partition p `eqP` (unpack2 . T.partitionBy p)
602t_partition p = L.partition p `eqP` (unpack2 . T.partitionBy p)
603tl_partition p = L.partition p `eqP` (unpack2 . TL.partitionBy p)
603tl_partition p = L.partition p `eqP` (unpack2 . TL.partitionBy p)
@@ -1130,8 +1130,8 @@ tests = [
1130 testProperty "t_filter" t_filter,
1130 testProperty "t_filter" t_filter,
1131 testProperty "tl_filter" tl_filter,
1131 testProperty "tl_filter" tl_filter,
1132 testProperty "sf_findBy" sf_findBy,
1132 testProperty "sf_findBy" sf_findBy,
1133− testProperty "t_findBy" t_findBy,
1133+ testProperty "t_find" t_find,
1134− testProperty "tl_findBy" tl_findBy,
1134+ testProperty "tl_find" tl_find,
1135 testProperty "t_partition" t_partition,
1135 testProperty "t_partition" t_partition,
1136 testProperty "tl_partition" tl_partition
1136 testProperty "tl_partition" tl_partition