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:
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
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