[Haskell-cafe] Heads up: planned removal of String instances from HTTP package

Ganesh Sittampalam ganesh at earth.li
Wed Jan 30 08:00:37 CET 2013


On 29/01/2013 22:46, Johan Tibell wrote:
> On Tue, Jan 29, 2013 at 2:15 PM, Ganesh Sittampalam <ganesh at earth.li> wrote:
>> tl;dr: I'm planning on removing the String instances from the HTTP
>> package. This is likely to break code. Obviously it will involve a major
>> version bump.
> 
> I think it's the right thing to do. Providing a little upgrade guide
> should help things to go smoother.

One obvious cheap-and-dirty migration is via a newtype wrapper for
String that embeds the old broken behaviour (char8 encoding). Perhaps
the package should provide that? (with appropriate warnings etc)

Ganesh



More information about the Haskell-Cafe mailing list