[[
Reading file "..\http\Browser.hs":
Type checking
ERROR "..\http\Browser.hs":865 - Type error in application
*** Expression : ioAction $ openTCP hst
*** Term : ioAction
*** Type : IO a -> BrowserAction a
*** Does not match : (Int -> IO Connection) -> BrowserAction a
]]
It appears that the signature for "openTCP" has changed...
Previous version (HTTP.hs): [[ openTCP :: String -> IO Connection openTCP uri = ]] -- http://homepages.paradise.net.nz/warrickg/haskell/http/HTTP.hs
Latest version (HTTP.hs): [[ openTCP :: String -> Int -> IO Connection openTCP uri port = ]] -- http://www.dtek.chalmers.se/~d00bring/haskell-xml-rpc/HTTP.hs
But this is referenced by the copy of Browser indicated from your web page:
[[
; c <- ioAction $ openTCP hst
]]
http://homepages.paradise.net.nz/warrickg/haskell/http/Browser.hsI'm guessing that you also have a modified version of Browser.hs?
#g --
At 00:16 16/03/04 +0100, Bjorn Bringert wrote:
The Haskell HTTP client implementation available from [1] seems to be without a maintainer (if anyone knows how to reach Warrick Gray, who wrote it, let me know).
I include a modified version of this module in the XML-RPC library [2]. Changes from the original module include:
* made it Hugs compatible * disabled 100-continue transfers as they caused POST requests to HTTP/1.0 servers to stall * called it Network.HTTP instead of HTTP * added support for URIs with a port number * added a simple toggle for HTTP traffic logging
The modified HTTP module is available from:
http://www.dtek.chalmers.se/~d00bring/haskell-xml-rpc/http.html
In line with Graham Klyne's suggestion [3] that a consistent version of this module be brought into some "community space", it will probably move to the haskell-libs project at SourceForge in the not too distant future.
Yours truly,
Bjorn Bringert
[1] http://homepages.paradise.net.nz/warrickg/haskell/http/
[2] http://www.dtek.chalmers.se/~d00bring/haskell-xml-rpc/
[3] http://www.haskell.org/pipermail/libraries/2004-February/001693.html
_______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
------------ Graham Klyne For email: http://www.ninebynine.org/#Contact
_______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
