
8 Feb
2008
8 Feb
'08
2:59 a.m.
On Thu, 7 Feb 2008, Iavor Diatchki wrote:
Hello, I don't think that the function should be in an arbitrary monad because not all monads support failure, and the purpose of using this function is to take an action when a parse error occurs
I'm for the fixed Maybe type. I also think that 'maybeRead' is better than 'readMaybe' since the latter one suggests that it is about reading a value of type 'Maybe'. (Though you can also argue the opposite way.)