Subscribe to
Posts
Comments

Archive for June, 2009

What’s in a text API?

Now that I’ve got the DEFUN 2009 schedule sorted out (you are coming, aren’t you?), I’ve had time to take a breath and think about the Haskell text library again. Its API is currently a clone of the ancient and venerable Haskell list API. If you’ve used the list API to do much text processing, [...]

Case conversion and text 0.3

I've released version 0.3 of the Haskell text package to Hackage. It supports the new error handling API that I wrote about the other day, along with proper support for case conversion.

What is "proper support for case conversion"? Correctly converting the case of a single Unicode code point can yield one, two, or three code [...]

I've spent a few nights improving the Haskell text library's resilience in the face of bad input. In version 0.2, the library simply calls error if presented with invalid input. This is clearly not adequate, since there's no shortage of data out there that either contains coding errors or is misidentified (e.g. ISO-8859-1 served up [...]