File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1466,7 +1466,7 @@ chunksOf k = go
1466
1466
1467
1467
-- | /O(n)/ The 'find' function takes a predicate and a 'Text', and
1468
1468
-- returns the first element matching the predicate, or 'Nothing' if
1469
- -- there is no such element.
1469
+ -- there is no such element. Subject to fusion.
1470
1470
find :: (Char -> Bool ) -> Text -> Maybe Char
1471
1471
find p t = S. findBy p (stream t)
1472
1472
{-# INLINE find #-}
@@ -1582,7 +1582,7 @@ breakOnAll pat src@(Text arr off slen)
1582
1582
-- searching for the index of @\"::\"@ and taking the substrings
1583
1583
-- before and after that index, you would instead use @breakOnAll \"::\"@.
1584
1584
1585
- -- | /O(n)/ 'Text' index (subscript) operator, starting from 0.
1585
+ -- | /O(n)/ 'Text' index (subscript) operator, starting from 0. Subject to fusion.
1586
1586
index :: Text -> Int -> Char
1587
1587
index t n = S. index (stream t) n
1588
1588
{-# INLINE index #-}
You can’t perform that action at this time.
0 commit comments