Haskell Platform proposal: Add case-insensitive
Isaac Dupree
ml at isaac.cedarswampstudios.org
Tue Jan 22 01:43:50 CET 2013
On 01/21/2013 05:21 PM, Ivan Lazar Miljenovic wrote:
> Is there any particular reason for this library to be in the Platform?
See the proposal:
http://trac.haskell.org/haskell-platform/wiki/Proposals/case-insensitive#Rationale
"Rationale
Used whenever you need a case-insensitive comparison of two strings,
usually as the key in an associative container. Does the right thing,
i.e. stores a cached copy of the downcased string for comparisons only,
while retaining the original string's casing. No current solution in the
platform. Both the Snap Framework and Yesod have standardized on this
package as the natural way of representing map keys in web programming,
which are often case-insensitive (e.g.: http headers). In wide use: at
the time of this writing has 48 reverse dependencies on Hackage."
Is that reasoning agreeable for you?
-Isaac
More information about the Libraries
mailing list