HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulecase-insensitive-1.2.1.0Haskell98

Data.CaseInsensitive.Unsafe

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

  • 1 value
valueunsafeMk :: FoldCase s => s -> CI s
#

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.