Name: dddddddddddddddddddd 2007-07-21 5:55 ID:YIX+bdt/
OK guys so I hear C is so awesome how would I do this?
[code]retry action = action `catch` (const $ threadDelay (5*10^6) >> retry action)[code]
basically I want a function that takes an function, executes it, then if it fails it should wait five seconds, repeating this until success
[code]retry action = action `catch` (const $ threadDelay (5*10^6) >> retry action)[code]
basically I want a function that takes an function, executes it, then if it fails it should wait five seconds, repeating this until success