Re: [Haskell-cafe] Faster timeout but is it correct?

21 Feb
2011
21 Feb
'11
6:23 p.m.
On 21 February 2011 22:11, Job Vranish
I'm curious, is it possible that your new timeout implementation would fix this problem?: doesntWork :: Int -> Int doesntWork x = last $ cycle [x] test :: IO (Maybe Bool) test = timeout 1 $ evaluate $ doesntWork 5 == 5 -- never terminates, even with the timeout
I just tested this with the new timeout and unfortunately it's not fixed. Bas
5202
Age (days ago)
5202
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bas van Dijk