# case-insensitive

> Haskell type for case-insensitive comparison of String, Text or ByteString

Source: https://talira.ai/catalog/case-insensitive-x8xp81yp
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / text / strings](https://talira.ai/categories/libraries/text/strings), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: BSD-3-Clause[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Bas van Dijk](https://talira.ai/orgs/bas-van-dijk.md)

case-insensitive is a Haskell library whose module Data.CaseInsensitive provides the CI type constructor. It wraps a string-like type such as String, ByteString or Text, and comparisons between values of the resulting type ignore case.

## Links

- GitHub: https://github.com/basvandijk/case-insensitive

## Problems it solves

- compare strings in Haskell without caring about upper or lower case
- make a Text or ByteString value compare case-insensitively in Haskell
- use case-insensitive keys in a Haskell map

## Features

- CI type constructor for case-insensitive values
- Works with String, ByteString, Text and other string-like types
- Equality and ordering that ignore case

## Trust

Overall: 0.39 out of 1.
Signals: maintenance 0.68, adoption 0.28, momentum 0.02, community 0.49, backing 0.30, extensibility 0.00.

- last commit 24 days ago
- 12 commits in the last 90 days
- 24 GitHub stars
- 16 contributors
- backed by Bas van Dijk

## Alternatives

- [text](https://talira.ai/catalog/text-hhb25n09.md): Efficient packed Unicode text for Haskell
- [text-short](https://talira.ai/catalog/text-short-tvzh5wnv.md): Memory-efficient ShortText type for many short Unicode strings in Haskell
- [string-interpolate](https://talira.ai/catalog/string-interpolate-swhz67gk.md): Unicode-aware string interpolation for Haskell that handles all textual types

## Sources

[^1]: https://github.com/basvandijk/case-insensitive/blob/master/LICENSE (checked 28 Nov 2026)
