on master help sign in
minor haddock markup fix
abd5fabDuncan Coutts
Data/Text.hs+1−1
@@ -1069,7 +1069,7 @@ find pat src@(Text arr off len)
1069-- For example, suppose you have a string that you want to split on
1069-- For example, suppose you have a string that you want to split on
1070-- the substring @\"::\"@, such as @\"foo::bar::quux\"@. Instead of
1070-- the substring @\"::\"@, such as @\"foo::bar::quux\"@. Instead of
1071-- searching for the index of @\"::\"@ and taking the substrings
1071-- searching for the index of @\"::\"@ and taking the substrings
1072−-- before and after that index, you would instead use @find "::"@.
1072+-- before and after that index, you would instead use @find \"::\"@.
1073
1073
1074-- | /O(n)/ 'Text' index (subscript) operator, starting from 0.
1074-- | /O(n)/ 'Text' index (subscript) operator, starting from 0.
1075index :: Text -> Int -> Char
1075index :: Text -> Int -> Char