[Haskell-cafe] tried to use the example given in the source of network.browser
This is what is in HTTPbis/Network/Browser.hs >do > rsp <- Network.Browser.browse $ do > setAllowRedirects True -- handle HTTP redirects > request $ getRequest "http://google.com/"; > fmap (take 100) (getResponseBody rsp) And how I changed it slightly to
Re: [Haskell-cafe] tried to use the example given in the source of network.browser
Hi, On 22/10/10 14:58, Michael Litchard wrote: main = do rsp<- Network.Browser.browse $ do setAllowRedirects True -- handle HTTP redirects request $ getRequest "http://google.com/"; fmap (take 100) (getResponseBody rsp) but I got this errortest