case-insensitive-1.2.0.9: Case insensitive string comparison

Data.CaseInsensitive.Unsafe

Description

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

Synopsis

# Documentation

unsafeMk :: FoldCase s => s -> CI s Source #

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.