25 Nov
2013
25 Nov
'13
6:43 a.m.
You might be interested in the 'safe' package. It has a function in it called readMay, along with a lot of other useful minor omissions from prelude. http://hackage.haskell.org/package/Safe-0.1/docs/Safe.html On Sun, Nov 24, 2013 at 4:49 PM, Patrick Redmond <plredmond@gmail.com>wrote:
Is there a variation of 'read' which uses Maybe or Either to handle failure instead of an exception? _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners