packages feed

text 1.2.2.0 → 1.2.2.1

raw patch · 5 files changed

+314/−128 lines, 5 filesdep +integer-simpledep −integer-pure

Dependencies added: integer-simple

Dependencies removed: integer-pure

Files

Data/Text/Array.hs view
@@ -74,7 +74,7 @@ #endif import GHC.Base (ByteArray#, MutableByteArray#, Int(..),                  indexWord16Array#, newByteArray#,-                 unsafeCoerce#, writeWord16Array#)+                 unsafeFreezeByteArray#, writeWord16Array#) import GHC.ST (ST(..), runST) import GHC.Word (Word16(..)) import Prelude hiding (length, read)@@ -130,8 +130,9 @@  -- | Freeze a mutable array. Do not mutate the 'MArray' afterwards! unsafeFreeze :: MArray s -> ST s Array-unsafeFreeze MArray{..} = ST $ \s# ->-                          (# s#, Array (unsafeCoerce# maBA)+unsafeFreeze MArray{..} = ST $ \s1# ->+    case unsafeFreezeByteArray# maBA s1# of+        (# s2#, ba# #) -> (# s2#, Array ba# #if defined(ASSERTS)                              maLen #endif
Data/Text/Internal/Fusion/CaseMapping.hs view
@@ -1,10 +1,10 @@ {-# LANGUAGE Rank2Types #-} -- AUTOMATICALLY GENERATED - DO NOT EDIT -- Generated by scripts/CaseMapping.hs--- CaseFolding-7.0.0.txt--- Date: 2014-04-09, 20:00:56 GMT [MD]--- SpecialCasing-7.0.0.txt--- Date: 2014-03-18, 07:18:02 GMT [MD]+-- CaseFolding-8.0.0.txt+-- Date: 2015-01-13, 18:16:36 GMT [MD]+-- SpecialCasing-8.0.0.txt+-- Date: 2014-12-16, 23:08:04 GMT [MD]  module Data.Text.Internal.Fusion.CaseMapping where import Data.Char@@ -337,8 +337,6 @@ foldMapping '\x01f0' s = Yield '\x006a' (CC s '\x030c' '\x0000') -- COMBINING GREEK YPOGEGRAMMENI foldMapping '\x0345' s = Yield '\x03b9' (CC s '\x0000' '\x0000')--- GREEK CAPITAL LETTER YOT-foldMapping '\x037f' s = Yield '\x03f3' (CC s '\x0000' '\x0000') -- GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS foldMapping '\x0390' s = Yield '\x03b9' (CC s '\x0308' '\x0301') -- GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS@@ -359,20 +357,20 @@ foldMapping '\x03f1' s = Yield '\x03c1' (CC s '\x0000' '\x0000') -- GREEK LUNATE EPSILON SYMBOL foldMapping '\x03f5' s = Yield '\x03b5' (CC s '\x0000' '\x0000')--- CYRILLIC CAPITAL LETTER EN WITH LEFT HOOK-foldMapping '\x0528' s = Yield '\x0529' (CC s '\x0000' '\x0000')--- CYRILLIC CAPITAL LETTER DZZHE-foldMapping '\x052a' s = Yield '\x052b' (CC s '\x0000' '\x0000')--- CYRILLIC CAPITAL LETTER DCHE-foldMapping '\x052c' s = Yield '\x052d' (CC s '\x0000' '\x0000')--- CYRILLIC CAPITAL LETTER EL WITH DESCENDER-foldMapping '\x052e' s = Yield '\x052f' (CC s '\x0000' '\x0000') -- ARMENIAN SMALL LIGATURE ECH YIWN foldMapping '\x0587' s = Yield '\x0565' (CC s '\x0582' '\x0000')--- GEORGIAN CAPITAL LETTER YN-foldMapping '\x10c7' s = Yield '\x2d27' (CC s '\x0000' '\x0000')--- GEORGIAN CAPITAL LETTER AEN-foldMapping '\x10cd' s = Yield '\x2d2d' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER YE+foldMapping '\x13f8' s = Yield '\x13f0' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER YI+foldMapping '\x13f9' s = Yield '\x13f1' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER YO+foldMapping '\x13fa' s = Yield '\x13f2' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER YU+foldMapping '\x13fb' s = Yield '\x13f3' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER YV+foldMapping '\x13fc' s = Yield '\x13f4' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER MV+foldMapping '\x13fd' s = Yield '\x13f5' (CC s '\x0000' '\x0000') -- LATIN SMALL LETTER H WITH LINE BELOW foldMapping '\x1e96' s = Yield '\x0068' (CC s '\x0331' '\x0000') -- LATIN SMALL LETTER T WITH DIAERESIS@@ -547,36 +545,174 @@ foldMapping '\x1ff7' s = Yield '\x03c9' (CC s '\x0342' '\x03b9') -- GREEK CAPITAL LETTER OMEGA WITH PROSGEGRAMMENI foldMapping '\x1ffc' s = Yield '\x03c9' (CC s '\x03b9' '\x0000')--- COPTIC CAPITAL LETTER BOHAIRIC KHEI-foldMapping '\x2cf2' s = Yield '\x2cf3' (CC s '\x0000' '\x0000')--- CYRILLIC CAPITAL LETTER DOUBLE O-foldMapping '\xa698' s = Yield '\xa699' (CC s '\x0000' '\x0000')--- CYRILLIC CAPITAL LETTER CROSSED O-foldMapping '\xa69a' s = Yield '\xa69b' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER C WITH BAR-foldMapping '\xa792' s = Yield '\xa793' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER B WITH FLOURISH-foldMapping '\xa796' s = Yield '\xa797' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER F WITH STROKE-foldMapping '\xa798' s = Yield '\xa799' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER VOLAPUK AE-foldMapping '\xa79a' s = Yield '\xa79b' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER VOLAPUK OE-foldMapping '\xa79c' s = Yield '\xa79d' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER VOLAPUK UE-foldMapping '\xa79e' s = Yield '\xa79f' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER H WITH HOOK-foldMapping '\xa7aa' s = Yield '\x0266' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER REVERSED OPEN E-foldMapping '\xa7ab' s = Yield '\x025c' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER SCRIPT G-foldMapping '\xa7ac' s = Yield '\x0261' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER L WITH BELT-foldMapping '\xa7ad' s = Yield '\x026c' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER TURNED K-foldMapping '\xa7b0' s = Yield '\x029e' (CC s '\x0000' '\x0000')--- LATIN CAPITAL LETTER TURNED T-foldMapping '\xa7b1' s = Yield '\x0287' (CC s '\x0000' '\x0000')+-- LATIN CAPITAL LETTER J WITH CROSSED-TAIL+foldMapping '\xa7b2' s = Yield '\x029d' (CC s '\x0000' '\x0000')+-- LATIN CAPITAL LETTER CHI+foldMapping '\xa7b3' s = Yield '\xab53' (CC s '\x0000' '\x0000')+-- LATIN CAPITAL LETTER BETA+foldMapping '\xa7b4' s = Yield '\xa7b5' (CC s '\x0000' '\x0000')+-- LATIN CAPITAL LETTER OMEGA+foldMapping '\xa7b6' s = Yield '\xa7b7' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER A+foldMapping '\xab70' s = Yield '\x13a0' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER E+foldMapping '\xab71' s = Yield '\x13a1' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER I+foldMapping '\xab72' s = Yield '\x13a2' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER O+foldMapping '\xab73' s = Yield '\x13a3' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER U+foldMapping '\xab74' s = Yield '\x13a4' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER V+foldMapping '\xab75' s = Yield '\x13a5' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER GA+foldMapping '\xab76' s = Yield '\x13a6' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER KA+foldMapping '\xab77' s = Yield '\x13a7' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER GE+foldMapping '\xab78' s = Yield '\x13a8' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER GI+foldMapping '\xab79' s = Yield '\x13a9' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER GO+foldMapping '\xab7a' s = Yield '\x13aa' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER GU+foldMapping '\xab7b' s = Yield '\x13ab' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER GV+foldMapping '\xab7c' s = Yield '\x13ac' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER HA+foldMapping '\xab7d' s = Yield '\x13ad' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER HE+foldMapping '\xab7e' s = Yield '\x13ae' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER HI+foldMapping '\xab7f' s = Yield '\x13af' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER HO+foldMapping '\xab80' s = Yield '\x13b0' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER HU+foldMapping '\xab81' s = Yield '\x13b1' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER HV+foldMapping '\xab82' s = Yield '\x13b2' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER LA+foldMapping '\xab83' s = Yield '\x13b3' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER LE+foldMapping '\xab84' s = Yield '\x13b4' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER LI+foldMapping '\xab85' s = Yield '\x13b5' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER LO+foldMapping '\xab86' s = Yield '\x13b6' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER LU+foldMapping '\xab87' s = Yield '\x13b7' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER LV+foldMapping '\xab88' s = Yield '\x13b8' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER MA+foldMapping '\xab89' s = Yield '\x13b9' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER ME+foldMapping '\xab8a' s = Yield '\x13ba' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER MI+foldMapping '\xab8b' s = Yield '\x13bb' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER MO+foldMapping '\xab8c' s = Yield '\x13bc' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER MU+foldMapping '\xab8d' s = Yield '\x13bd' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER NA+foldMapping '\xab8e' s = Yield '\x13be' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER HNA+foldMapping '\xab8f' s = Yield '\x13bf' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER NAH+foldMapping '\xab90' s = Yield '\x13c0' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER NE+foldMapping '\xab91' s = Yield '\x13c1' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER NI+foldMapping '\xab92' s = Yield '\x13c2' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER NO+foldMapping '\xab93' s = Yield '\x13c3' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER NU+foldMapping '\xab94' s = Yield '\x13c4' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER NV+foldMapping '\xab95' s = Yield '\x13c5' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER QUA+foldMapping '\xab96' s = Yield '\x13c6' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER QUE+foldMapping '\xab97' s = Yield '\x13c7' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER QUI+foldMapping '\xab98' s = Yield '\x13c8' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER QUO+foldMapping '\xab99' s = Yield '\x13c9' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER QUU+foldMapping '\xab9a' s = Yield '\x13ca' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER QUV+foldMapping '\xab9b' s = Yield '\x13cb' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER SA+foldMapping '\xab9c' s = Yield '\x13cc' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER S+foldMapping '\xab9d' s = Yield '\x13cd' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER SE+foldMapping '\xab9e' s = Yield '\x13ce' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER SI+foldMapping '\xab9f' s = Yield '\x13cf' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER SO+foldMapping '\xaba0' s = Yield '\x13d0' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER SU+foldMapping '\xaba1' s = Yield '\x13d1' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER SV+foldMapping '\xaba2' s = Yield '\x13d2' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER DA+foldMapping '\xaba3' s = Yield '\x13d3' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TA+foldMapping '\xaba4' s = Yield '\x13d4' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER DE+foldMapping '\xaba5' s = Yield '\x13d5' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TE+foldMapping '\xaba6' s = Yield '\x13d6' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER DI+foldMapping '\xaba7' s = Yield '\x13d7' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TI+foldMapping '\xaba8' s = Yield '\x13d8' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER DO+foldMapping '\xaba9' s = Yield '\x13d9' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER DU+foldMapping '\xabaa' s = Yield '\x13da' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER DV+foldMapping '\xabab' s = Yield '\x13db' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER DLA+foldMapping '\xabac' s = Yield '\x13dc' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TLA+foldMapping '\xabad' s = Yield '\x13dd' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TLE+foldMapping '\xabae' s = Yield '\x13de' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TLI+foldMapping '\xabaf' s = Yield '\x13df' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TLO+foldMapping '\xabb0' s = Yield '\x13e0' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TLU+foldMapping '\xabb1' s = Yield '\x13e1' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TLV+foldMapping '\xabb2' s = Yield '\x13e2' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TSA+foldMapping '\xabb3' s = Yield '\x13e3' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TSE+foldMapping '\xabb4' s = Yield '\x13e4' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TSI+foldMapping '\xabb5' s = Yield '\x13e5' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TSO+foldMapping '\xabb6' s = Yield '\x13e6' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TSU+foldMapping '\xabb7' s = Yield '\x13e7' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER TSV+foldMapping '\xabb8' s = Yield '\x13e8' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER WA+foldMapping '\xabb9' s = Yield '\x13e9' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER WE+foldMapping '\xabba' s = Yield '\x13ea' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER WI+foldMapping '\xabbb' s = Yield '\x13eb' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER WO+foldMapping '\xabbc' s = Yield '\x13ec' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER WU+foldMapping '\xabbd' s = Yield '\x13ed' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER WV+foldMapping '\xabbe' s = Yield '\x13ee' (CC s '\x0000' '\x0000')+-- CHEROKEE SMALL LETTER YA+foldMapping '\xabbf' s = Yield '\x13ef' (CC s '\x0000' '\x0000') -- LATIN SMALL LIGATURE FF foldMapping '\xfb00' s = Yield '\x0066' (CC s '\x0066' '\x0000') -- LATIN SMALL LIGATURE FI@@ -601,68 +737,106 @@ foldMapping '\xfb16' s = Yield '\x057e' (CC s '\x0576' '\x0000') -- ARMENIAN SMALL LIGATURE MEN XEH foldMapping '\xfb17' s = Yield '\x0574' (CC s '\x056d' '\x0000')--- WARANG CITI CAPITAL LETTER NGAA-foldMapping '\x118a0' s = Yield '\x118c0' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER A-foldMapping '\x118a1' s = Yield '\x118c1' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER WI-foldMapping '\x118a2' s = Yield '\x118c2' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER YU-foldMapping '\x118a3' s = Yield '\x118c3' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER YA-foldMapping '\x118a4' s = Yield '\x118c4' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER YO-foldMapping '\x118a5' s = Yield '\x118c5' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER II-foldMapping '\x118a6' s = Yield '\x118c6' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER UU-foldMapping '\x118a7' s = Yield '\x118c7' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER E-foldMapping '\x118a8' s = Yield '\x118c8' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER O-foldMapping '\x118a9' s = Yield '\x118c9' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER ANG-foldMapping '\x118aa' s = Yield '\x118ca' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER GA-foldMapping '\x118ab' s = Yield '\x118cb' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER KO-foldMapping '\x118ac' s = Yield '\x118cc' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER ENY-foldMapping '\x118ad' s = Yield '\x118cd' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER YUJ-foldMapping '\x118ae' s = Yield '\x118ce' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER UC-foldMapping '\x118af' s = Yield '\x118cf' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER ENN-foldMapping '\x118b0' s = Yield '\x118d0' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER ODD-foldMapping '\x118b1' s = Yield '\x118d1' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER TTE-foldMapping '\x118b2' s = Yield '\x118d2' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER NUNG-foldMapping '\x118b3' s = Yield '\x118d3' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER DA-foldMapping '\x118b4' s = Yield '\x118d4' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER AT-foldMapping '\x118b5' s = Yield '\x118d5' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER AM-foldMapping '\x118b6' s = Yield '\x118d6' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER BU-foldMapping '\x118b7' s = Yield '\x118d7' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER PU-foldMapping '\x118b8' s = Yield '\x118d8' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER HIYO-foldMapping '\x118b9' s = Yield '\x118d9' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER HOLO-foldMapping '\x118ba' s = Yield '\x118da' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER HORR-foldMapping '\x118bb' s = Yield '\x118db' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER HAR-foldMapping '\x118bc' s = Yield '\x118dc' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER SSUU-foldMapping '\x118bd' s = Yield '\x118dd' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER SII-foldMapping '\x118be' s = Yield '\x118de' (CC s '\x0000' '\x0000')--- WARANG CITI CAPITAL LETTER VIYO-foldMapping '\x118bf' s = Yield '\x118df' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER A+foldMapping '\x10c80' s = Yield '\x10cc0' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER AA+foldMapping '\x10c81' s = Yield '\x10cc1' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EB+foldMapping '\x10c82' s = Yield '\x10cc2' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER AMB+foldMapping '\x10c83' s = Yield '\x10cc3' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EC+foldMapping '\x10c84' s = Yield '\x10cc4' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ENC+foldMapping '\x10c85' s = Yield '\x10cc5' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ECS+foldMapping '\x10c86' s = Yield '\x10cc6' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ED+foldMapping '\x10c87' s = Yield '\x10cc7' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER AND+foldMapping '\x10c88' s = Yield '\x10cc8' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER E+foldMapping '\x10c89' s = Yield '\x10cc9' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER CLOSE E+foldMapping '\x10c8a' s = Yield '\x10cca' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EE+foldMapping '\x10c8b' s = Yield '\x10ccb' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EF+foldMapping '\x10c8c' s = Yield '\x10ccc' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EG+foldMapping '\x10c8d' s = Yield '\x10ccd' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EGY+foldMapping '\x10c8e' s = Yield '\x10cce' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EH+foldMapping '\x10c8f' s = Yield '\x10ccf' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER I+foldMapping '\x10c90' s = Yield '\x10cd0' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER II+foldMapping '\x10c91' s = Yield '\x10cd1' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EJ+foldMapping '\x10c92' s = Yield '\x10cd2' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EK+foldMapping '\x10c93' s = Yield '\x10cd3' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER AK+foldMapping '\x10c94' s = Yield '\x10cd4' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER UNK+foldMapping '\x10c95' s = Yield '\x10cd5' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EL+foldMapping '\x10c96' s = Yield '\x10cd6' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ELY+foldMapping '\x10c97' s = Yield '\x10cd7' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EM+foldMapping '\x10c98' s = Yield '\x10cd8' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EN+foldMapping '\x10c99' s = Yield '\x10cd9' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ENY+foldMapping '\x10c9a' s = Yield '\x10cda' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER O+foldMapping '\x10c9b' s = Yield '\x10cdb' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER OO+foldMapping '\x10c9c' s = Yield '\x10cdc' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER NIKOLSBURG OE+foldMapping '\x10c9d' s = Yield '\x10cdd' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER RUDIMENTA OE+foldMapping '\x10c9e' s = Yield '\x10cde' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER OEE+foldMapping '\x10c9f' s = Yield '\x10cdf' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EP+foldMapping '\x10ca0' s = Yield '\x10ce0' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EMP+foldMapping '\x10ca1' s = Yield '\x10ce1' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ER+foldMapping '\x10ca2' s = Yield '\x10ce2' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER SHORT ER+foldMapping '\x10ca3' s = Yield '\x10ce3' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ES+foldMapping '\x10ca4' s = Yield '\x10ce4' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ESZ+foldMapping '\x10ca5' s = Yield '\x10ce5' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ET+foldMapping '\x10ca6' s = Yield '\x10ce6' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ENT+foldMapping '\x10ca7' s = Yield '\x10ce7' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ETY+foldMapping '\x10ca8' s = Yield '\x10ce8' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ECH+foldMapping '\x10ca9' s = Yield '\x10ce9' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER U+foldMapping '\x10caa' s = Yield '\x10cea' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER UU+foldMapping '\x10cab' s = Yield '\x10ceb' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER NIKOLSBURG UE+foldMapping '\x10cac' s = Yield '\x10cec' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER RUDIMENTA UE+foldMapping '\x10cad' s = Yield '\x10ced' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EV+foldMapping '\x10cae' s = Yield '\x10cee' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EZ+foldMapping '\x10caf' s = Yield '\x10cef' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER EZS+foldMapping '\x10cb0' s = Yield '\x10cf0' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER ENT-SHAPED SIGN+foldMapping '\x10cb1' s = Yield '\x10cf1' (CC s '\x0000' '\x0000')+-- OLD HUNGARIAN CAPITAL LETTER US+foldMapping '\x10cb2' s = Yield '\x10cf2' (CC s '\x0000' '\x0000') foldMapping c s = Yield (toLower c) (CC s '\0' '\0')
Data/Text/Lazy/Builder/Int.hs view
@@ -36,14 +36,14 @@ #ifdef  __GLASGOW_HASKELL__ # if defined(INTEGER_GMP) import GHC.Integer.GMP.Internals (Integer(S#))-# elif defined(INTEGER_PURE)+# elif defined(INTEGER_SIMPLE) import GHC.Integer # else-# error "You need to use either GMP or integer-pure."+# error "You need to use either GMP or integer-simple." # endif #endif -#if defined(INTEGER_GMP) || defined(INTEGER_PURE)+#if defined(INTEGER_GMP) || defined(INTEGER_SIMPLE) # define PAIR(a,b) (# a,b #) #else # define PAIR(a,b) (a,b)
changelog.md view
@@ -1,3 +1,14 @@+1.2.2.1++* The switch to `integer-pure` in 1.2.2.0 was apparently mistaken.+  The build flag has been renamed accordingly.  Your army of diligent+  maintainers apologizes for the churn.++* Spec compliance: toCaseFold now follows the Unicode 8.0 spec+  (updated from 7.0)++* An STG lint error has been fixed+ 1.2.2.0  * The `integer-simple` package, upon which this package optionally
text.cabal view
@@ -1,5 +1,5 @@ name:           text-version:        1.2.2.0+version:        1.2.2.1 homepage:       https://github.com/bos/text bug-reports:    https://github.com/bos/text/issues synopsis:       An efficient packed Unicode text type.@@ -69,10 +69,10 @@   default: False   manual: True -flag integer-pure-  description: Use the pure-Haskell integer library instead of GMP+flag integer-simple+  description: Use the simple integer library instead of GMP   default: False-  manual: True+  manual: False  library   c-sources:    cbits/cbits.c@@ -145,9 +145,9 @@     ghc-options: -Werror     cpp-options: -DASSERTS -  if flag(integer-pure)-    cpp-options: -DINTEGER_PURE-    build-depends: integer-pure >= 1.0+  if flag(integer-simple)+    cpp-options: -DINTEGER_SIMPLE+    build-depends: integer-simple >= 0.1 && < 0.5   else     cpp-options: -DINTEGER_GMP     build-depends: integer-gmp >= 0.2@@ -181,9 +181,9 @@     test-framework-hunit >= 0.2,     test-framework-quickcheck2 >= 0.2 -  if flag(integer-pure)-    cpp-options: -DINTEGER_PURE-    build-depends: integer-pure >= 0.1 && < 0.5+  if flag(integer-simple)+    cpp-options: -DINTEGER_SIMPLE+    build-depends: integer-simple >= 0.1 && < 0.5   else     cpp-options: -DINTEGER_GMP     build-depends: integer-gmp >= 0.2