Sigbjorn Finne wrote:

> Attached is a from-the-hip Haskell module I wrote sometime ago
> to do this. It provides the action:
> 
>    getURL :: String{-the URL-} -> IO String
> 
> As is, it only supports the http:// protocol, but hopefully a
> useful starting point. The module depends on hslibs libraries,
> which effectively means that it is currently GHC dependent(?)
>

hmm. Actually I wanted to write CGI scripts, interpreted by Hugs. Is
this Socket.hi only a lib for GHC? I mean is there anything simular for
Hugs? I would prefer to develop my CGI's with Hugs (for I don't have GHC
on my system) and run them as scripts.
Did anyone wrote a similar module which can be used with Hugs? Or any
idea how to avoid the import of Socket in SF's module?

regards
seb

Reply via email to