normalization-insensitive-2.0.0.1: Normalization insensitive string comparison

Copyright(c) 2011-2013 Bas van Dijk
(c) 2016 Patrick Pelletier
LicenseBSD-style (see the file LICENSE)
MaintainerPatrick Pelletier <code@funwithsoftware.org>
Safe HaskellUnsafe
LanguageHaskell98

Data.Unicode.NormalizationInsensitive.Unsafe

Description

Provides an unsafe way to create a normalization insensitive string-like value.

Synopsis

Documentation

unsafeMk :: s -> NI s Source #

Constructs an NI from an already normalized string-like value. The given string is used both as the original as well as the normalized.

This function is unsafe since the compiler can't guarantee that the provided string is normalized.