@hackage / normalization-insensitive

Normalization insensitive string comparison

Latest2.0.2

About

Metadata

  • Last updated , by ppelleti
  • License BSD-3-Clause
  • Categories Text Processing
  • Maintained by: Patrick Pelletier <code@funwithsoftware.org>

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.6.5
  2. 7.10.3

Readme

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.