on master help sign in
Fix comments for toLower.
b0850d7Bryan O'Sullivan
Data/Text.hs+3−2
@@ -395,8 +395,9 @@ toUpper t = unstream (S.toUpper (stream t))
395
395
396-- | /O(n)/ Convert a string to lower case, using simple case
396-- | /O(n)/ Convert a string to lower case, using simple case
397-- conversion. The result string may be longer than the input string.
397-- conversion. The result string may be longer than the input string.
398−-- For instance, the German eszett (U+00DF) maps to the two-letter
398+-- For instance, the Latin capital letter I with dot above (U+0130)
399−-- sequence SS.
399+-- maps to the sequence Latin small letter i (U+0069) followed by
400+-- combining dot above (U+0307).
400toLower :: Text -> Text
401toLower :: Text -> Text
401toLower t = unstream (S.toLower (stream t))
402toLower t = unstream (S.toLower (stream t))
402{-# INLINE toLower #-}
403{-# INLINE toLower #-}
Data/Text/Fusion/Common.hs+3−2
@@ -322,8 +322,9 @@ toUpper = caseConvert upperMapping
322
322
323-- | /O(n)/ Convert a string to lower case, using simple case
323-- | /O(n)/ Convert a string to lower case, using simple case
324-- conversion. The result string may be longer than the input string.
324-- conversion. The result string may be longer than the input string.
325−-- For instance, the German eszett (U+00DF) maps to the two-letter
325+-- For instance, the Latin capital letter I with dot above (U+0130)
326−-- sequence SS.
326+-- maps to the sequence Latin small letter i (U+0069) followed by
327+-- combining dot above (U+0307).
327toLower :: Stream Char -> Stream Char
328toLower :: Stream Char -> Stream Char
328toLower = caseConvert lowerMapping
329toLower = caseConvert lowerMapping
329{-# INLINE [0] toLower #-}
330{-# INLINE [0] toLower #-}
Data/Text/Lazy.hs+3−2
@@ -381,8 +381,9 @@ toUpper t = unstream (S.toUpper (stream t))
381
381
382-- | /O(n)/ Convert a string to lower case, using simple case
382-- | /O(n)/ Convert a string to lower case, using simple case
383-- conversion. The result string may be longer than the input string.
383-- conversion. The result string may be longer than the input string.
384−-- For instance, the German eszett (U+00DF) maps to the two-letter
384+-- For instance, the Latin capital letter I with dot above (U+0130)
385−-- sequence SS.
385+-- maps to the sequence Latin small letter i (U+0069) followed by
386+-- combining dot above (U+0307).
386toLower :: Text -> Text
387toLower :: Text -> Text
387toLower t = unstream (S.toLower (stream t))
388toLower t = unstream (S.toLower (stream t))
388{-# INLINE toLower #-}
389{-# INLINE toLower #-}