[Haskell-beginners] 'read' throws; why not maybe or either?

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Sun Nov 24 21:57:54 UTC 2013


On 24/11/13 21:49, Patrick Redmond wrote:
> Is there a variation of 'read' which uses Maybe or Either to handle
> failure instead of an exception?
> 
> 
> 
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
> 

See
http://stackoverflow.com/questions/5121371/how-to-catch-a-no-parse-exception-from-the-read-function-in-haskell
-- 
Mateusz K.


More information about the Beginners mailing list