25 Sep
2010
25 Sep
'10
3:34 p.m.
Bas van Dijk <v.dijk.bas@gmail.com> writes:
throwIOs :: Int -> IO () throwIOs 0 = return () throwIOs n = throwIO DivideByZero `catch` \DivideByZero -> throws (n-1)
Should that perhaps be "throwIOs (n-1)" in the recursive case? G -- Gregory Collins <greg@gregorycollins.net>