text-icu 0.4.0.0 → 0.4.0.1
raw patch · 3 files changed
+3/−5 lines, 3 files
Files
- Data/Text/ICU/Collate/Pure.hs +0/−2
- Data/Text/ICU/Normalize.hsc +2/−2
- text-icu.cabal +1/−1
Data/Text/ICU/Collate/Pure.hs view
@@ -27,8 +27,6 @@ , uca ) where -#include <unicode/ucol.h>- import Data.ByteString (ByteString) import Data.Text (Text) import Data.Text.ICU.Collate.Internal (Collator(..))
Data/Text/ICU/Normalize.hsc view
@@ -234,7 +234,7 @@ -- | Perform an efficient check on a string, to quickly determine if -- the string is in a particular normalization form. ----- A 'Nothing' result indicates that a certain answer could not be+-- A 'Nothing' result indicates that a definite answer could not be -- determined quickly, and a more thorough check is required, -- e.g. with 'isNormalized'. The user may have to convert the string -- to its normalized form and compare the results.@@ -252,7 +252,7 @@ -- Unlike 'quickCheck', this function returns a definitive result. -- For 'NFD', 'NFKD', and 'FCD' normalization forms, both functions -- work in exactly the same ways. For 'NFC' and 'NFKC' forms, where--- 'quickCheck' may return 'Perhaps', this function will perform+-- 'quickCheck' may return 'Nothing', this function will perform -- further tests to arrive at a definitive result. isNormalized :: NormalizationMode -> Text -> Bool isNormalized mode t =
text-icu.cabal view
@@ -1,5 +1,5 @@ name: text-icu-version: 0.4.0.0+version: 0.4.0.1 synopsis: Bindings to the ICU library description: Haskell bindings to the International Components for Unicode (ICU) libraries. These libraries provide