normalization-insensitive 2.0.0.1 → 2.0.1
raw patch · 4 files changed
+23/−9 lines, 4 filesdep ~HUnitdep ~criteriondep ~hashablePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: HUnit, criterion, hashable, text
API changes (from Hackage documentation)
+ Data.Unicode.NormalizationInsensitive: normalized :: NI s -> s
Files
- CHANGELOG +5/−0
- Data/Unicode/NormalizationInsensitive.hs +1/−0
- README.markdown +9/−2
- normalization-insensitive.cabal +8/−7
CHANGELOG view
@@ -1,3 +1,8 @@+2.0.1++* Expose 'normalized'++ 2.0.0.1 * Avoid using Data.ByteString.UTF8.Normalize, which was deprecated in
Data/Unicode/NormalizationInsensitive.hs view
@@ -20,6 +20,7 @@ module Data.Unicode.NormalizationInsensitive ( NI , mk , original+ , normalized , map , Normalizable(normalize) ) where
README.markdown view
@@ -1,4 +1,8 @@+Latest:+[](https://hackage.haskell.org/package/normalization-insensitive)+Linux: [](https://travis-ci.org/ppelleti/normalization-insensitive)+Windows: [](https://ci.appveyor.com/project/ppelleti/normalization-insensitive/branch/master) The module `Data.Unicode.NormalizationInsensitive` provides the `NI`@@ -6,8 +10,11 @@ `String`, `ByteString`, `Text`, etc.. Comparisons of values of the resulting type will be insensitive to normalization. -This is very similar in spirit to the `case-insensitive` package, and is+This is very similar in spirit to the [`case-insensitive`][1] package, and is in fact based on the same code. -This package uses NFC internally, although that shouldn't matter to+This package uses [NFC][2] internally, although that shouldn't matter to you, unless you use `unsafeMk`.++[1]: https://hackage.haskell.org/package/case-insensitive+[2]: https://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms
normalization-insensitive.cabal view
@@ -1,5 +1,5 @@ name: normalization-insensitive-version: 2.0.0.1+version: 2.0.1 cabal-version: >=1.8 build-type: Simple license: BSD3@@ -24,7 +24,8 @@ tested-with: GHC==7.8.4, GHC==7.10.3,- GHC==8.0.1+ GHC==8.0.1,+ GHC==8.2.1 extra-source-files: README.markdown CHANGELOG pg2189.txt @@ -36,10 +37,10 @@ ghc-options: -Wall build-depends: base >= 4.7 && < 5 , bytestring >= 0.9 && < 0.11- , text >= 0.3 && < 1.3+ , text >= 1.1.1 && < 1.3 , deepseq >= 1.1 && < 1.5 , hashable >= 1.0 && < 1.3- , unicode-transforms >= 0.1.0.1 && < 0.3+ , unicode-transforms >= 0.1.0.1 && < 0.4 exposed-modules: Data.Unicode.NormalizationInsensitive , Data.Unicode.NormalizationInsensitive.Unsafe other-modules: Data.Unicode.NormalizationInsensitive.Internal@@ -52,9 +53,9 @@ build-depends: normalization-insensitive , base >= 4.7 && < 5 , bytestring >= 0.9 && < 0.11- , text >= 0.3 && < 1.3+ , text >= 1.1.1 && < 1.3 , hashable >= 1.0 && < 1.3- , HUnit >= 1.2.2 && < 1.4+ , HUnit >= 1.2.2 && < 1.7 , test-framework >= 0.2.4 && < 0.9 , test-framework-hunit >= 0.2.4 && < 0.4 @@ -71,5 +72,5 @@ build-depends: normalization-insensitive , base >= 4.7 && < 5 , bytestring >= 0.9 && < 0.11- , criterion >= 0.6.1 && < 1.2+ , criterion >= 0.6.1 && < 1.3 , deepseq >= 1.1 && < 1.5