normalization-insensitive

Normalization insensitive string comparison

https://github.com/ppelleti/normalization-insensitive

Version on this page:2.0.1@rev:3
LTS Haskell 11.22:2.0.1@rev:3
Stackage Nightly 2018-03-12:2.0.1@rev:2
Latest on Hackage:2.0.2

See all snapshots normalization-insensitive appears in

BSD-3-Clause licensed by Bas van Dijk, Patrick Pelletier
Maintained by Patrick Pelletier
This version can be pinned in stack with:normalization-insensitive-2.0.1@sha256:78a544bb2aec6ec4f7bfd7e74ccecf675203783a8d6f8f78b812704869e137dc,2912

Module documentation for 2.0.1

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.