27 Dec 2012 00:22
Type error when trying to adapt http-proxy to new conduit
Pieter Laeremans <pieter <at> laeremans.org>
2012-12-26 23:22:35 GMT
2012-12-26 23:22:35 GMT
Hi,
The http-proxy package isn't compatible any longer with the latest conduit. Since it is open source, I thought, I might as well try to adapt it and submit a patch.
However I run into some difficulties.
For example I get this type error when I'm trying to compile it :
Network/HTTP/Proxy.hs:254:15:
Couldn't match expected type `ResourceT
IO (CIN.Pipe () () ByteString () (ResourceT IO) ())'
with actual type `IO
(CIN.Pipe () () ByteString () (ResourceT IO) ())'
I can't figure it out. To me it reads like : Expected x, actual x.
Anyone has a clue?
thanks,
Pieter
Pieter Laeremans <pieter <at> laeremans.org>
"The future is here. It's just not evenly distributed yet." W. Gibson
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe <at> haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
RSS Feed