Re: [Haskell-cafe] Problem with System.Timeout in Windows

2010-08-05 Thread Ryan Yates
I tried your example on 6.12.3 and it worked fine for me (Windows 7). Ryan Yates On Thu, Aug 5, 2010 at 1:35 AM, Adolfo Builes builes.ado...@googlemail.comwrote: Hi All: I have been trying to use System.timeout in windows, but for some reason it doesn't work, a concrete example is:

Re: [Haskell-cafe] Problem with System.Timeout in Windows

2010-08-05 Thread Matthias Reisner
Am 05.08.2010 07:35 schrieb Adolfo Builes: Hi All: I have been trying to use System.timeout in windows, but for some reason it doesn't work, a concrete example is: import Network.HTTP import System.Timeout main = do rsp - timeout 1000 $ simpleHTTP $ getRequest http://10.1.2.3; case

[Haskell-cafe] Problem with System.Timeout in Windows

2010-08-04 Thread Adolfo Builes
Hi All: I have been trying to use System.timeout in windows, but for some reason it doesn't work, a concrete example is: import Network.HTTP import System.Timeout main = do rsp - timeout 1000 $ simpleHTTP $ getRequest http://10.1.2.3; case rsp of Just rsp - print $ show rsp