
31 Oct
2015
31 Oct
'15
11:04 a.m.
On Sat, Oct 31, 2015 at 11:46:15AM +0100, Roelof Wobben wrote:
Op 31-10-2015 om 11:40 schreef Darren Grant:
Unfrotunately the answer to this is not simple:
http://stackoverflow.com/questions/4243117/how-to-catch-and-ignore-a-call-to...
'error' more or less terminates the program in an unreasonable way.
It would be preferable for f2 to result in a type that can contain the error result to be parsed.
So I have to change the type of f2.
To what do I have to change it to make it testable.
For example, Integer -> Maybe Integer