Re: [Haskell-cafe] Why no instance of Happstack.Data.Default.Default for Data.ByteString.Lazy

2010-03-19 Thread Jeremy Shaw
sloppiness probably. If you submit a patch that adds an instance I will apply it. That said, I am not sure it is going to solve your particular problem. simpleHTTP requires something that is an instance of ToMessage. ToMessage is a class that turns values into a Response. It happens that anything

[Haskell-cafe] Why no instance of Happstack.Data.Default.Default for Data.ByteString.Lazy

2010-03-19 Thread Mads Lindstrøm
Hi Why is that Happstack has: instance Happstack.Data.Default.Default Data.ByteString But not one for: instance Happstack.Data.Default.Default Data.ByteString.Lazy I am trying to make a HTTP proxy using Happstack and the client part with the Network.HTTP (see Hackage). Network.HTTP.simpleHttp