case-insensitive-1.2.0.0: Case insensitive string comparison

MaintainerBas van Dijk <v.dijk.bas@gmail.com>
Safe HaskellUnsafe

Data.CaseInsensitive.Unsafe

Description

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

Synopsis

Documentation

unsafeMk :: FoldCase s => s -> CI sSource

Constructs a CI from an already case folded string-like value. The given string is used both as the original as well as the foldedCase.

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