on master help sign in
Fix comments for toLower.

--HG-- extra : convert_revision : 67b881fde5a48a28fce933af2492c0ff6060e190

commitb0850d7ecf30a53125ebf01882e5df77028ae67d authorBryan O'Sullivan <bos@serpentine.com> dateSun 7 Jun 2009, 01:27 (17 years ago) parent599c8d1
3 files changed+9−6
Data/Text.hs+3−2 Data/Text/Fusion/Common.hs+3−2 Data/Text/Lazy.hs+3−2
Data/Text.hs+3−2
@@ -395,8 +395,9 @@ toUpper t = unstream (S.toUpper (stream t))
395395
396396-- | /O(n)/ Convert a string to lower case, using simple case
397397-- conversion. The result string may be longer than the input string.
398−-- For instance, the German eszett (U+00DF) maps to the two-letter
399−-- sequence SS.
398+-- For instance, the Latin capital letter I with dot above (U+0130)
399+-- maps to the sequence Latin small letter i (U+0069) followed by
400+-- combining dot above (U+0307).
400401toLower :: Text -> Text
401402toLower t = unstream (S.toLower (stream t))
402403{-# INLINE toLower #-}
Data/Text/Fusion/Common.hs+3−2
@@ -322,8 +322,9 @@ toUpper = caseConvert upperMapping
322322
323323-- | /O(n)/ Convert a string to lower case, using simple case
324324-- conversion. The result string may be longer than the input string.
325−-- For instance, the German eszett (U+00DF) maps to the two-letter
326−-- sequence SS.
325+-- For instance, the Latin capital letter I with dot above (U+0130)
326+-- maps to the sequence Latin small letter i (U+0069) followed by
327+-- combining dot above (U+0307).
327328toLower :: Stream Char -> Stream Char
328329toLower = caseConvert lowerMapping
329330{-# INLINE [0] toLower #-}
Data/Text/Lazy.hs+3−2
@@ -381,8 +381,9 @@ toUpper t = unstream (S.toUpper (stream t))
381381
382382-- | /O(n)/ Convert a string to lower case, using simple case
383383-- conversion. The result string may be longer than the input string.
384−-- For instance, the German eszett (U+00DF) maps to the two-letter
385−-- sequence SS.
384+-- For instance, the Latin capital letter I with dot above (U+0130)
385+-- maps to the sequence Latin small letter i (U+0069) followed by
386+-- combining dot above (U+0307).
386387toLower :: Text -> Text
387388toLower t = unstream (S.toLower (stream t))
388389{-# INLINE toLower #-}