File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1659,7 +1659,7 @@ filter p t = unstream (S.filter p (stream t))
1659
1659
1660
1660
-- | /O(n)/ The 'find' function takes a predicate and a 'Text', and
1661
1661
-- returns the first element in matching the predicate, or 'Nothing'
1662
- -- if there is no such element.
1662
+ -- if there is no such element. Subject to fusion.
1663
1663
find :: (Char -> Bool ) -> Text -> Maybe Char
1664
1664
find p t = S. findBy p (stream t)
1665
1665
{-# INLINE find #-}
@@ -1674,6 +1674,7 @@ partition p t = (filter p t, filter (not . p) t)
1674
1674
{-# INLINE partition #-}
1675
1675
1676
1676
-- | /O(n)/ 'Text' index (subscript) operator, starting from 0.
1677
+ -- Subject to fusion.
1677
1678
index :: Text -> Int64 -> Char
1678
1679
index t n = S. index (stream t) n
1679
1680
{-# INLINE index #-}
You can’t perform that action at this time.
0 commit comments