[Haskell-cafe] [Haskell] ANN: case-insensitive-0.1
max.rabkin at gmail.com
Mon Feb 7 15:26:59 CET 2011
This could be a useful package but can you add a note that this does
not do correct Unicode-aware comparison on String (though AFAICT it is
correct for Text)?
On Mon, Feb 7, 2011 at 02:06, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> Dear all,
> I had this old module laying around that I wrote some time ago. I
> dusted it off and uploaded it to Hackage:
> The package provides the module Data.CaseInsensitive which exports the
> CI type constructor which can be parameterised by a string-like type
> like: String, ByteString, Text, etc.. Comparisons of values of the
> resulting type are then insensitive to cases.
> It is my hope that one day packages like snap-core, http-types
> or wai all use this common way of making strings case insensitive.
>  http://hackage.haskell.org/packages/archive/snap-core/latest/doc/html/Data-CIByteString.html
>  http://hackage.haskell.org/packages/archive/http-types/0.3.0/doc/html/Network-HTTP-Types.html#t:CIByteString
>  http://hackage.haskell.org/packages/archive/wai/latest/doc/html/Network-Wai.html#v:CIByteString
> Haskell mailing list
> Haskell at haskell.org
More information about the Haskell-Cafe