packages/text.git
3 months agoFix "incomplete-uni-patterns" warnings master
Chaitanya Koparkar [Mon, 21 Jan 2019 13:46:03 +0000 (08:46 -0500)] 
Fix "incomplete-uni-patterns" warnings

This warning will soon be enabled by `-Wall` in GHC

Fixes gh-245

5 months agoMonadFail forward-compat
Herbert Valerio Riedel [Tue, 18 Dec 2018 22:26:47 +0000 (23:26 +0100)] 
MonadFail forward-compat

Drop redundant unused `fail` method in internal instance; if it had
been relevant we would have had to define a `MonadFail`-instance for
it already.

6 months agoRemove unused imports.
David Eichmann [Wed, 7 Nov 2018 11:21:01 +0000 (11:21 +0000)] 
Remove unused imports.

Due to a bug in ghc, some unused imports do not yield warnings.
This commit will remove such unused imports in preparation for
the ghc bug fix (see https://ghc.haskell.org/trac/ghc/ticket/13064).

8 months agofix text-tests.cabal
Kubo Kovac [Wed, 19 Sep 2018 08:34:08 +0000 (10:34 +0200)] 
fix text-tests.cabal

8 months agoExtend tutf8_err testcases to cover ab90c65cdb
Michael Snoyman [Tue, 28 Aug 2018 15:09:06 +0000 (17:09 +0200)] 
Extend tutf8_err testcases to cover ab90c65cdb

This also also makes the testsuite compatible w/ QC 2.10
and consequently closes #211 and #212

8 months agoAdd Haddock string to `formatRealFloat`
Herbert Valerio Riedel [Tue, 28 Aug 2018 15:01:40 +0000 (17:01 +0200)] 
Add Haddock string to `formatRealFloat`

This also describes the gh-231 related wart

8 months agoTemporary workaround for gh-231
Herbert Valerio Riedel [Tue, 28 Aug 2018 14:11:52 +0000 (16:11 +0200)] 
Temporary workaround for gh-231

This needs to be reverted (or rather inverted) once gh-231 is
resolved

8 months agoReduce amount of CPP by removing redundant HAVE_DEEPSEQ conditional
Herbert Valerio Riedel [Tue, 28 Aug 2018 12:46:15 +0000 (14:46 +0200)] 
Reduce amount of CPP by removing redundant HAVE_DEEPSEQ conditional

8 months agoFinalise for text-1.2.3.1 release
Herbert Valerio Riedel [Tue, 28 Aug 2018 12:33:38 +0000 (14:33 +0200)] 
Finalise for text-1.2.3.1 release

8 months agoMerge pull request #229 from bgamari/fix-T227
Herbert Valerio Riedel [Mon, 27 Aug 2018 17:00:36 +0000 (19:00 +0200)] 
Merge pull request #229 from bgamari/fix-T227

Addresses #227 and #221

8 months agoFix associativity of size in caseConvert
Ben Gamari [Wed, 22 Aug 2018 20:31:59 +0000 (16:31 -0400)] 
Fix associativity of size in caseConvert

Fixes #221.

8 months agoAdd a regression test for #221
Ben Gamari [Wed, 22 Aug 2018 20:06:02 +0000 (16:06 -0400)] 
Add a regression test for #221

8 months agoFusion.Common: Fix take/drop's treatment of negative counts
Ben Gamari [Wed, 22 Aug 2018 16:16:36 +0000 (12:16 -0400)] 
Fusion.Common: Fix take/drop's treatment of negative counts

This fixes #227.

8 months agoFusion.Size: Assert that n >= 0
Ben Gamari [Wed, 22 Aug 2018 16:16:23 +0000 (12:16 -0400)] 
Fusion.Size: Assert that n >= 0

8 months agoAdd regression test for #227
Ben Gamari [Wed, 22 Aug 2018 16:19:47 +0000 (12:19 -0400)] 
Add regression test for #227

8 months agocabal.project: Add benchmarks/
Ben Gamari [Wed, 22 Aug 2018 16:59:36 +0000 (12:59 -0400)] 
cabal.project: Add benchmarks/

8 months agotravis: Disable tests in 8.4.3 configuration
Ben Gamari [Wed, 22 Aug 2018 16:44:00 +0000 (12:44 -0400)] 
travis: Disable tests in 8.4.3 configuration

Sadly GHC croaks due to GHC #15436.

8 months agoRegenerate travis.yml
Ben Gamari [Wed, 22 Aug 2018 16:24:14 +0000 (12:24 -0400)] 
Regenerate travis.yml

8 months agocabal: Tested-with GHC 8.4.3 and 8.6.1
Ben Gamari [Wed, 22 Aug 2018 16:21:34 +0000 (12:21 -0400)] 
cabal: Tested-with GHC 8.4.3 and 8.6.1

9 months agoAdd changelog entry for #223 / #226
Herbert Valerio Riedel [Wed, 1 Aug 2018 09:04:24 +0000 (11:04 +0200)] 
Add changelog entry for #223 / #226

9 months agotext: Fix termination condition for file reads.
Tamar Christina [Tue, 31 Jul 2018 21:48:50 +0000 (22:48 +0100)] 
text: Fix termination condition for file reads.

14 months agodrop redundant bug-reports: field
Herbert Valerio Riedel [Sun, 4 Mar 2018 23:39:01 +0000 (00:39 +0100)] 
drop redundant bug-reports: field

16 months agoMake `decodeUtf8With` fail explicitly for non-BMP repl-chars
Herbert Valerio Riedel [Fri, 29 Dec 2017 17:02:03 +0000 (18:02 +0100)] 
Make `decodeUtf8With` fail explicitly for non-BMP repl-chars

This is long-standing issue's existence goes back to `text-0.10`.

This commit is a short-term stop-gap measure turning unsafe undefined
behaviour into an explicit `error` exception (and thus fail
non-silently) which given the longevity of this issue seems to be a
sensible course of action. This commit includes a lengthy source code
comment explaining the issue as well as potential strategies for
future work on maximising the definedness of `decodeUtf8With`,
i.e. support the full range of replacement-characters. This future
work which will be tracked by gh-213.

16 months agoRemove `Stability: experimental` header from non-internal modules
Herbert Valerio Riedel [Wed, 27 Dec 2017 13:42:29 +0000 (14:42 +0100)] 
Remove `Stability: experimental` header from non-internal modules

After so many years, I think it's fair to say that `Data.Text`'s API
is not "experimental" anymore... ;-)

`.Internal` modules however, are not "stable".

16 months agoMore haddock cleanups
Herbert Valerio Riedel [Wed, 27 Dec 2017 13:39:11 +0000 (14:39 +0100)] 
More haddock cleanups

16 months agoUpdate changelog & fix version-headings
Herbert Valerio Riedel [Wed, 27 Dec 2017 13:37:40 +0000 (14:37 +0100)] 
Update changelog & fix version-headings

The entries for the 1.2.3.0 release have been reordered according to
their importance.

The version numbers follow the same heading style as `aeson`'s
changelog (i.e. heading level matches severity of version bump)

16 months agoFix broken named-chunk haddock reference
Herbert Valerio Riedel [Wed, 27 Dec 2017 13:17:34 +0000 (14:17 +0100)] 
Fix broken named-chunk haddock reference

And rewrap/wiggle the Haddock markup while at it.

This is a follow-up to
c91dedad7fd35bf7d76fc7dced5aff66310e9d97

16 months agoimprove Makefile for getting test-data
Kubo Kovac [Sun, 29 Oct 2017 13:29:35 +0000 (14:29 +0100)] 
improve Makefile for getting test-data

add a target for git and update docs

16 months agoUpdate cabal file for text-benchmarks
Herbert Valerio Riedel [Wed, 27 Dec 2017 12:11:26 +0000 (13:11 +0100)] 
Update cabal file for text-benchmarks

16 months agoConvert Data.Text examples into machine-verifiable doctest markup
Herbert Valerio Riedel [Wed, 27 Dec 2017 12:09:52 +0000 (13:09 +0100)] 
Convert Data.Text examples into machine-verifiable doctest markup

16 months agoUpdate .gitignore to account for cabal new-build
Herbert Valerio Riedel [Wed, 27 Dec 2017 11:47:56 +0000 (12:47 +0100)] 
Update .gitignore to account for cabal new-build

Also, be more specific about where we expect generated files
to show up.

16 months agoSilence a few `cabal check` warnings/errors
Herbert Valerio Riedel [Wed, 27 Dec 2017 11:46:44 +0000 (12:46 +0100)] 
Silence a few `cabal check` warnings/errors

16 months agoAdd examples to Data.Text transformations (#136)
Alex Liew [Wed, 27 Dec 2017 12:06:01 +0000 (04:06 -0800)] 
Add examples to Data.Text transformations (#136)

Add examples for map, intercalate and intersperse, transpose, reverse

16 months agoUpdate text.cabal file & README
Herbert Valerio Riedel [Wed, 27 Dec 2017 11:37:24 +0000 (12:37 +0100)] 
Update text.cabal file & README

This updates/tweaks the description texts and also adds missing the
missing `*-modules` to the test-suite stanza whose lack was causing
GHC warnings and confuse cabal's dependency tracking.

16 months agoReword docs to mention which exception is thrown
Herbert Valerio Riedel [Wed, 27 Dec 2017 11:04:40 +0000 (12:04 +0100)] 
Reword docs to mention which exception is thrown

Follow-up to 589af770acce3e3f8ae15041555c180fba1070dc

16 months agoDocument that Data.Text.IO throws on decoding failure
rightfold [Sat, 9 Dec 2017 18:06:59 +0000 (19:06 +0100)] 
Document that Data.Text.IO throws on decoding failure

16 months agoAdd `@since 1.2.2.*` annotations
Herbert Valerio Riedel [Sat, 23 Dec 2017 18:07:14 +0000 (19:07 +0100)] 
Add `@since 1.2.2.*` annotations

16 months agoAdd `@since 1.2.1.*` annotations
Herbert Valerio Riedel [Sat, 23 Dec 2017 18:00:31 +0000 (19:00 +0100)] 
Add `@since 1.2.1.*` annotations

16 months agoAdd `@since 1.2.0.*` annotations
Herbert Valerio Riedel [Sat, 23 Dec 2017 17:55:48 +0000 (18:55 +0100)] 
Add `@since 1.2.0.*` annotations

16 months agoAdd `@since 1.1.1.*` annotations
Herbert Valerio Riedel [Sat, 23 Dec 2017 17:38:51 +0000 (18:38 +0100)] 
Add `@since 1.1.1.*` annotations

Also add note about when `Array`/`MArray` constructors were exposed
(c.f. 9ea72a0457f3269a50c7867752f9bb19a0cdd69c)

16 months agoAdd `@since 1.1.0.0` annotations
Herbert Valerio Riedel [Sat, 23 Dec 2017 17:33:51 +0000 (18:33 +0100)] 
Add `@since 1.1.0.0` annotations

...and also add a few missing haddock strings while at it.

16 months agoAdd `@since 1.0.0.0` annotations
Herbert Valerio Riedel [Sat, 23 Dec 2017 17:25:15 +0000 (18:25 +0100)] 
Add `@since 1.0.0.0` annotations

17 months agoSilence a couple warnings
Herbert Valerio Riedel [Sun, 17 Dec 2017 17:59:40 +0000 (18:59 +0100)] 
Silence a couple warnings

17 months agoAdd `@since` annotations for `unsnoc` (from gh-173)
Herbert Valerio Riedel [Sun, 17 Dec 2017 17:47:25 +0000 (18:47 +0100)] 
Add `@since` annotations for `unsnoc` (from gh-173)

17 months agoAdd more changelog entries for 1.2.3
Herbert Valerio Riedel [Sun, 17 Dec 2017 17:43:55 +0000 (18:43 +0100)] 
Add more changelog entries for 1.2.3

17 months agoUpdate GHC 8.2.1 -> GHC 8.2.2 in CI
Herbert Valerio Riedel [Sun, 17 Dec 2017 16:54:30 +0000 (17:54 +0100)] 
Update GHC 8.2.1 -> GHC 8.2.2 in CI

17 months agoMerge pull request #200
Herbert Valerio Riedel [Sat, 16 Dec 2017 23:03:30 +0000 (00:03 +0100)] 
Merge pull request #200

Fix usage of size hints which resulted in serious bugs
such as operations like `(== 1) . length . filter (== ',')`  (see #197)
giving wrong results.

17 months agoFix size hints
Ben Gamari [Fri, 8 Sep 2017 23:42:19 +0000 (19:42 -0400)] 
Fix size hints

This fixes a variety of size hint bugs in text's fusion framework. These
issues fell broadly into two classes,

 * Code point/code unit confusion
 * Inappropriate bounds

It seems the most of the latter were introduced when the Size type was
extended to track both upper and lower bounds in f4fc30c. These could
manifest in a variety of issues similar to #197.

18 months agoSome haddock formatting fixes
Ben Gamari [Mon, 9 Oct 2017 21:19:43 +0000 (17:19 -0400)] 
Some haddock formatting fixes

18 months agofix github links in README
Kubo Kovac [Sun, 29 Oct 2017 13:12:48 +0000 (14:12 +0100)] 
fix github links in README

https://github.com/bos/text doesn't exist anymore
it was moved to https://github.com/haskell/text

19 months agoBe more precise about meaning of "character"
Ben Gamari [Mon, 9 Oct 2017 21:11:20 +0000 (17:11 -0400)] 
Be more precise about meaning of "character"

19 months agoEnable optimization when compiling testsuite
Ben Gamari [Fri, 8 Sep 2017 16:34:48 +0000 (12:34 -0400)] 
Enable optimization when compiling testsuite

Otherwise we may miss bugs revealed by rewrite rules.

19 months agoAdd regression test for #197
Ben Gamari [Fri, 8 Sep 2017 16:13:43 +0000 (12:13 -0400)] 
Add regression test for #197

19 months agoUse lower upper bound for pre-allocation in `encodeUtf8`
Herbert Valerio Riedel [Mon, 28 Aug 2017 11:17:20 +0000 (13:17 +0200)] 
Use lower upper bound for pre-allocation in `encodeUtf8`

The rationale is that we encode from UTF16 code-units to UTF8, and
to encode a *single* UTF16 code-unit we need at most 3-byte in UTF8.
Wherease 4-byte UTF8 encodings would require surrogate UTF16 pairs.

Fixes #194

19 months agoMake compatible with upcoming Prelude.<> export in GHC 8.4/base-4.11
Herbert Valerio Riedel [Thu, 21 Sep 2017 21:17:47 +0000 (23:17 +0200)] 
Make compatible with upcoming Prelude.<> export in GHC 8.4/base-4.11

There's just two minor clashes, and the least invasive way right now is
to just hide the imports for now.

21 months agoAdd more GHC-generated directories to .gitignore
Ryan Scott [Wed, 16 Aug 2017 13:55:00 +0000 (09:55 -0400)] 
Add more GHC-generated directories to .gitignore

21 months agoFix -Wunused-variable warning in cbits
Herbert Valerio Riedel [Sat, 12 Aug 2017 18:23:10 +0000 (20:23 +0200)] 
Fix -Wunused-variable warning in cbits

This warning was introduced recently by the commit
c976329a5eaf1546390adff38625527e6b6f1d85 which failed
to remove the now redundant `ret` return-code variable.

21 months agoAdd Travis CI job
Herbert Valerio Riedel [Tue, 8 Aug 2017 07:37:38 +0000 (09:37 +0200)] 
Add Travis CI job

Care has been taken to disable email notifications in order not to
annoy @bos :-)

21 months agoFix GNUmakefile capitalization
Ryan Scott [Tue, 8 Aug 2017 15:34:09 +0000 (11:34 -0400)] 
Fix GNUmakefile capitalization

Fix a silly typo.

21 months agoAdd benchmarks for gh-165
Bryan O'Sullivan [Tue, 8 Aug 2017 03:33:21 +0000 (20:33 -0700)] 
Add benchmarks for gh-165

I used the code from the gist as the source for the Concat module.

21 months agoMerge pull request #182 from kuk0/decode
Bryan O'Sullivan [Tue, 8 Aug 2017 02:26:29 +0000 (19:26 -0700)] 
Merge pull request #182 from kuk0/decode

Fixing #181

21 months agoMerge pull request #189 from duog/master
Bryan O'Sullivan [Tue, 8 Aug 2017 02:19:22 +0000 (19:19 -0700)] 
Merge pull request #189 from duog/master

Update .gitignore

21 months agoUpdate GitHub pointers
Bryan O'Sullivan [Tue, 8 Aug 2017 02:14:21 +0000 (19:14 -0700)] 
Update GitHub pointers

21 months agoUpdate .gitignore
Doug Wilson [Tue, 1 Aug 2017 21:11:09 +0000 (09:11 +1200)] 
Update .gitignore

These files are generated while building ghc

22 months agoadd an extra test that correct utf8 doesn't disappear
Kubo Kovac [Mon, 22 May 2017 16:58:43 +0000 (17:58 +0100)] 
add an extra test that correct utf8 doesn't disappear

22 months agofix utf8 error recovery for stream decoding
Kubo Kovac [Mon, 22 May 2017 16:47:27 +0000 (17:47 +0100)] 
fix utf8 error recovery for stream decoding

22 months agofix utf8 error recovery
Kubo Kovac [Mon, 22 May 2017 15:27:20 +0000 (16:27 +0100)] 
fix utf8 error recovery

22 months agoAdd unsnoc to changelog
Bryan O'Sullivan [Tue, 27 Jun 2017 00:24:19 +0000 (01:24 +0100)] 
Add unsnoc to changelog

22 months agoMerge
Bryan O'Sullivan [Tue, 27 Jun 2017 00:23:41 +0000 (01:23 +0100)] 
Merge

22 months agoMerge pull request #173 from betaveros/add-unsnoc
Bryan O'Sullivan [Tue, 27 Jun 2017 00:23:15 +0000 (01:23 +0100)] 
Merge pull request #173 from betaveros/add-unsnoc

Add `unsnoc` to Data.Text and Data.Text.Lazy

22 months agoMerge
Bryan O'Sullivan [Tue, 27 Jun 2017 00:20:07 +0000 (01:20 +0100)] 
Merge

22 months agoMerge pull request #185 from steshaw/master
Bryan O'Sullivan [Tue, 27 Jun 2017 00:19:37 +0000 (01:19 +0100)] 
Merge pull request #185 from steshaw/master

Data.Text.Lazy.cons is O(1) rather than O(n)

22 months agoBump version to 1.2.3.0 (and release notes)
Bryan O'Sullivan [Tue, 27 Jun 2017 00:19:06 +0000 (01:19 +0100)] 
Bump version to 1.2.3.0 (and release notes)

22 months agoDrop junk
Bryan O'Sullivan [Tue, 27 Jun 2017 00:10:35 +0000 (01:10 +0100)] 
Drop junk

22 months agoMake strict takeWhileEnd_null test faster
Bryan O'Sullivan [Mon, 26 Jun 2017 15:52:33 +0000 (16:52 +0100)] 
Make strict takeWhileEnd_null test faster

22 months agoAdd a null-correcntess test for strict takeWhileEnd (gh-184)
Bryan O'Sullivan [Mon, 26 Jun 2017 15:46:17 +0000 (16:46 +0100)] 
Add a null-correcntess test for strict takeWhileEnd (gh-184)

23 months agoData.Text.Lazy.cons is O(1) rather than O(n).
Steven Shaw [Sat, 17 Jun 2017 04:10:53 +0000 (14:10 +1000)] 
Data.Text.Lazy.cons is O(1) rather than O(n).

23 months agoUpdate CaseMapping.hs to Unicode 9.0.0
Bryan O'Sullivan [Mon, 22 May 2017 12:29:36 +0000 (13:29 +0100)] 
Update CaseMapping.hs to Unicode 9.0.0

2 years agoAdded tag 1.2.2.2 for changeset d72c634a91ff
Bryan O'Sullivan [Sun, 21 May 2017 05:16:33 +0000 (22:16 -0700)] 
Added tag 1.2.2.2 for changeset d72c634a91ff

2 years agoUpdate changelog
Bryan O'Sullivan [Sun, 21 May 2017 05:16:28 +0000 (22:16 -0700)] 
Update changelog

2 years agoBump version
Bryan O'Sullivan [Sun, 21 May 2017 05:13:51 +0000 (22:13 -0700)] 
Bump version

2 years agoMore Unicode education by test fixing
Bryan O'Sullivan [Sun, 21 May 2017 05:08:36 +0000 (22:08 -0700)] 
More Unicode education by test fixing

2 years agoUse === more widely in tests
Bryan O'Sullivan [Sun, 21 May 2017 04:56:30 +0000 (21:56 -0700)] 
Use === more widely in tests

2 years agoMake the Arbitrary instance for Text generate full Unicode
Bryan O'Sullivan [Sun, 21 May 2017 05:11:25 +0000 (22:11 -0700)] 
Make the Arbitrary instance for Text generate full Unicode

Flipping this revealed one genuine codebase bug, but gh-176 may be
related.  And as a bonus, this also revealed two testsuite bugs.
That's an impressive haul!

2 years agoTest-driven Unicode education: fixed a fun test bug
Bryan O'Sullivan [Sun, 21 May 2017 05:09:39 +0000 (22:09 -0700)] 
Test-driven Unicode education: fixed a fun test bug

2 years agoMake a previously-failing test more easily debuggable
Bryan O'Sullivan [Sun, 21 May 2017 04:46:54 +0000 (21:46 -0700)] 
Make a previously-failing test more easily debuggable

2 years agoWow, typo(s) of the week! Or do I mean the decade?
Bryan O'Sullivan [Sun, 21 May 2017 03:59:52 +0000 (20:59 -0700)] 
Wow, typo(s) of the week!  Or do I mean the decade?

This bug has been latent for 6.75 years, and lay dormant all that
time because the Arbitrary instance for Char only generates ASCII.

I just switched the Arbitrary instance for Text to generate a wider
range of Unicode code points, thanks to the quickcheck-unicode
package.  (I'm afraid I don't recall why I didn't do this much
earlier...)

2 years agoBump dependency on quickcheck-unicode package
Bryan O'Sullivan [Sun, 21 May 2017 03:18:34 +0000 (20:18 -0700)] 
Bump dependency on quickcheck-unicode package

2 years agoMerge pull request #177 from kuk0/takeEnd
Bryan O'Sullivan [Sun, 21 May 2017 01:33:03 +0000 (18:33 -0700)] 
Merge pull request #177 from kuk0/takeEnd

fix takeEnd and dropEnd - issue #176

2 years agofix takeEnd and dropEnd - issue #176
Kubo Kovac [Wed, 3 May 2017 20:23:33 +0000 (21:23 +0100)] 
fix takeEnd and dropEnd - issue #176

2 years agoAdd `unsnoc` to Data.Text and Data.Text.Lazy
Brian Chen [Tue, 7 Mar 2017 21:11:18 +0000 (16:11 -0500)] 
Add `unsnoc` to Data.Text and Data.Text.Lazy

Closes #171.

2 years agoFix Unicode-version-dependent bug in new toTitle test
Bryan O'Sullivan [Wed, 7 Dec 2016 12:42:38 +0000 (04:42 -0800)] 
Fix Unicode-version-dependent bug in new toTitle test

2 years agoMerge pull request #169 from alskipp/toTitleTest
Bryan O'Sullivan [Wed, 7 Dec 2016 11:44:49 +0000 (11:44 +0000)] 
Merge pull request #169 from alskipp/toTitleTest

Added additional test for toTitle

2 years agoAdded additional test for toTitle
al_skipp [Tue, 6 Dec 2016 20:43:31 +0000 (20:43 +0000)] 
Added additional test for toTitle

Ensures that the first letter of each word is not lowercase after
`toTitle` transform. Doesn’t check to ensure that it’s uppercase, as
not all alphabets contain uppercase and lowercase letters.

2 years agoUpdate changelog
Bryan O'Sullivan [Tue, 6 Dec 2016 17:18:03 +0000 (17:18 +0000)] 
Update changelog

2 years agoMerge
Bryan O'Sullivan [Tue, 6 Dec 2016 17:11:43 +0000 (17:11 +0000)] 
Merge

2 years agoAttempt to fix test build with GHC <= 7.6
Bryan O'Sullivan [Tue, 6 Dec 2016 17:09:05 +0000 (17:09 +0000)] 
Attempt to fix test build with GHC <= 7.6

2 years agoMerge pull request #166 from HuwCampbell/master
Bryan O'Sullivan [Tue, 6 Dec 2016 12:37:49 +0000 (04:37 -0800)] 
Merge pull request #166 from HuwCampbell/master

Fix documentation for  Data.Text.Read hexadecimal

2 years agoMerge pull request #168 from alskipp/toTitle
Bryan O'Sullivan [Tue, 6 Dec 2016 12:37:11 +0000 (04:37 -0800)] 
Merge pull request #168 from alskipp/toTitle

Improvements to `toTitle` functionality

2 years agoImprovements to `toTitle` functionality
al_skipp [Fri, 2 Dec 2016 23:07:19 +0000 (23:07 +0000)] 
Improvements to `toTitle` functionality

Function now correctly deals with apostrophes, etc. For example, the
“s” in “it’s”, should not be transformed to upper.