[Haskell-cafe] Unicode Haskell source -- Yippie!

Travis Cardwell travis.cardwell at extellisys.com
Fri Apr 25 06:54:17 UTC 2014


On 2014年04月25日 15:34, Niklas Haas wrote:
> FWIW, python's support for Unicode in its standard library is
> significantly better than Haskell's. Haskell fails on basic functions
> such as ‘toUpper’, ‘length’ or ‘==’.

I have to humbly disagree.  Python does indeed have great Unicode support,
but using Unicode for everything is not efficient in cases where it is not
needed.  With Haskell, one can use bytestring [1] and text [2] as
necessary to have more control over how content is processed.  Both
packages are in Haskell Platform, the equivalent of Python's standard library.

Cheers,

Travis

----

[1] http://hackage.haskell.org/package/bytestring
[2] http://hackage.haskell.org/package/text


More information about the Haskell-Cafe mailing list