case-insensitive

Case insensitive string comparison https://github.com/basvandijk/case-insensitive

Version on this page:1.2.0.7
LTS Haskell 8.2:1.2.0.8
Stackage Nightly 2017-02-23:1.2.0.8
Latest on Hackage:1.2.0.8
BSD3 licensed by Bas van Dijk
Maintained by Bas van Dijk

Module documentation for 1.2.0.7

Hackage Build Status

The module Data.CaseInsensitive provides 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 will be insensitive to cases.

Changes

1.2.0.8

* Support HUnit-1.5.


1.2.0.7

* Fix build of benchmarks when getting the sources from Hackage.


1.2.0.6

* Add Travis CI support
* Add Semigroup s => Semigroup (CI s) instance


1.2.0.5

* Support HUnit-1.3
* Support criterion-1.1
* Updated .nix files


1.2.0.4

* Fixed #17: https://github.com/basvandijk/case-insensitive/issues/17


1.2.0.3

* Add CHANGELOG to extra-source files so that it shows up on Hackage


1.2.0.2

* Bump base and deepseq upper bounds for GHC 7.10 compatibility

* Add case-insensitive.nix and default.nix

* Fix #14: Build failure with GHC 7.2.2

* Fix #8: Don't unnecessarily use NoImplicitPrelude


1.2.0.1

* Solved warnings on GHC-7.8.3

* Bump text upper version bounds


1.2.0.0

* Derived a Data instance for CI


1.1.0.3

* Support text-1.1


1.1.0.2

* Support text-1.0


1.1.0.1

* Fixed bad character L178


1.1

* Added the Data.CaseInsensitive.Unsafe module

* Mark Data.CaseInsensitive.Internal as Unsafe


1.0.0.2

* Support criterion-0.8


1.0.0.1

* Fix building on GHC-6.12.1

* Bump base upper bound for GHC 7.7

* Added a NEWS file


1.0 @ Mon Jan 28 14:39:05 UTC 2013

* Make package ready for the Haskell Platform

* Drop the UnicodeSyntax, TypeSynonymInstances and FlexibleInstances
language extensions

* Add instance NFData s => NFData (CI s)

* Add a hidden method to the FoldCase type class:
foldCaseList :: [s] -> [s]
foldCaseList = L.map foldCase

* Add instance FoldCase a => FoldCase [a] where
foldCase = foldCaseList

* Add instance FoldCase Char where
foldCase = toLower
foldCaseList = TL.unpack . TL.toCaseFold . TL.pack

* Added a simple test suite

* Added a simple benchmark

* Added a rewrite rule to make 'mk' more efficient on strict
ByteStrings


0.4.0.4 @ Fri Dec 14 07:06:58 UTC 2012

* Support hashable-1.2


0.4.0.3 @ Sat Aug 18 07:20:49 UTC 2012

* Improve performance of foldCase on sctrict and lazy ByteStrings


0.4.0.2 @ Thu Aug 16 14:58:33 UTC 2012

* Declare Data.CaseInsensitive to be Trustworthy

* Support base-4.6

* Support bytestring-0.10


0.4.0.1 @ Wed Dec 14 15:24:55 UTC 2011

* Support base-4.5


0.4 @ Thu Oct 27 18:29:58 UTC 2011

* Remove instance FoldCase Char

* Perform proper case folding on Strings:
-instance FoldCase String where foldCase = L.map toLower
+instance FoldCase String where foldCase = TL.unpack . TL.toCaseFold . TL.pack


0.3.0.1 @ Mon Aug 8 06:28:21 UTC 2011

* Support base-4.4


0.3 @ Thu Jul 14 07:38:52 UTC 2011

* Add instance Hashable s => Hashable (CI s)


0.2.0.2 @ Thu Jun 30 22:24:23 UTC 2011

* Moved from darcs on code.haskell.org
to git on githb.com


0.2.0.1 @ Tue Mar 29 20:30:32 UTC 2011

* Drop dependency on base-unicode-symbols


0.2 @ Mon Feb 7 20:18:34 UTC 2011

* Export foldedCase :: CI s -> s

* Remove instance FoldCase s ⇒ FoldCase [s]

* Add instance FoldCase String


0.1 @ Sun Feb 6 23:54:22 UTC 2011

* Initial release
Used by 182 packages:
DAV, EtaMOO, MFlow, Spock-core, VKHS, Wheb, Yablog, adblock2privoxy, airship, amazonka-core, amazonka-test, api-tools, apiary, ascii, atlassian-connect-core, authenticate, aws, aws-dynamodb-streams, aws-general, aws-sign4, azure-service-api, azure-servicebus, azurify, binary-orphans, bioinformatics-toolkit, bytestring-conversion, configifier, configuration-tools, conversion-case-insensitive, data-default-instances-case-insensitive, discord-hs, dom-parser, dropbox-sdk, email-header, fbmessenger-api, funbot, git-annex, github-webhook-handler-snap, gogol, gogol-core, growler, gssapi-wai, hack2-handler-snap-server, hack2-interface-wai, hackage-proxy, handa-gdata, happybara-webkit, haskell-aliyun, haskell-ftp, helix, heyefi, hgithub, hsoz, hspec-wai, hspec-wai-json, hstradeking, html-tokenizer, http-client, http-client-auth, http-client-tls, http-common, http-dispatch, http-enumerator, http-kinder, http-kit, http-media, http-pony-serve-wai, http-pony-transformer-case-insensitive, http-proxy, http-response-decoder, http-reverse-proxy, http-streams, http-types, http2, hulk, hums, iCalendar, imm, inspector-wrecker, irc-fun-bot, keter, lambdatwit, language-puppet, list-t-html-parser, lord, mangopay, mighttpd2, miku, minio-hs, mongrel2-handler, multipart-names, namelist, network-api-support, nicovideo-translator, notmuch-web, ntrip-client, oauthenticated, on-a-horse, opaleye, opaleye-sqlite, opml-conduit, orchestrate, pg, pokitdok, postgresql-simple, postgrest, prove-everywhere-server, ratel, ratel-wai, raven-haskell-scotty, req, rest-client, rest-core, rest-snap, rest-types, rest-wai, scotty, scroll, serv-wai, servant, servant-auth-hmac, servant-auth-server, servant-docs, servant-quickcheck, servant-snap, servant-subscriber, skylighting, snap-accept, snap-core, snap-cors, snap-extras, snap-predicates, snap-server, snaplet-rest, solr, sprinkles, sqsd-local, sscgi, sssp, strelka-wai, t3-server, tagstream-conduit, text-latin1, through-text, tostring, transient-universe, twentefp-websockets, twhs, waddle, wai-app-file-cgi, wai-cors, wai-extra, wai-frontend-monadcgi, wai-logger, wai-middleware-auth, wai-middleware-cache-redis, wai-middleware-crowd, wai-middleware-hmac, wai-middleware-hmac-client, wai-predicates, wai-request-spec, wai-routes, wai-routing, wai-websockets, warp, web-inv-route, webapi, webapp, webcrank, websockets, webwire, wrecker, wreq, wreq-sb, xdcc, xml-lens, xml2json, yesod-core, yesod-test, yet-another-logger, zendesk-api, zip
comments powered byDisqus