normalization-insensitive: Normalization insensitive string comparison

[ bsd3, data, library, text, unicode ] [ Propose Tags ] [ Report a vulnerability ]

The module Data.Unicode.NormalizationInsensitive provides the NI type constructor which can be parameterized by a string-like type like: 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 in fact based on the same code.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 2.0, 2.0.0.1, 2.0.1, 2.0.2
Change log CHANGELOG
Dependencies base (>=4.7 && <5), bytestring (>=0.9 && <0.12), deepseq (>=1.1 && <1.5), hashable (>=1.0 && <1.5), semigroups (>=0.18 && <0.19), text (>=1.1.1 && <1.3), unicode-transforms (>=0.1.0.1 && <0.5) [details]
Tested with ghc ==7.10.3, ghc ==8.6.5
License BSD-3-Clause
Copyright 2011 Bas van Dijk, 2016 Patrick Pelletier
Author Bas van Dijk, Patrick Pelletier
Maintainer Patrick Pelletier <code@funwithsoftware.org>
Revised Revision 2 made by ppelleti at 2021-12-02T18:28:49Z
Category Data, Text, Unicode
Home page https://github.com/ppelleti/normalization-insensitive
Bug tracker https://github.com/ppelleti/normalization-insensitive/issues
Source repo head: git clone https://github.com/ppelleti/normalization-insensitive.git
Uploaded by ppelleti at 2021-03-14T00:30:16Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3004 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-03-14 [all 1 reports]

Readme for normalization-insensitive-2.0.2

[back to package description]

Latest: Hackage Linux: Build Status Windows: Build status

The module Data.Unicode.NormalizationInsensitive provides the NI type constructor which can be parameterized by a string-like type like: 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 in fact based on the same code.

This package uses NFC internally, although that shouldn't matter to you, unless you use unsafeMk.