2009/6/24 Magicloud Magiclouds <
magicloud.magiclouds@...>:
> Hi,
> Read often throws runtime errors, which breaks the robust of the
> problem. How to deal with it? Without lost too much proformance (so
> reads is a no).
Hi,
You might be interested in
http://hackage.haskell.org/packages/archive/safe/0.2/doc/html/Safe.html#v%3AreadMay.
Also, I think a similar question was asked not too long ago, so you
might want to get a look at the archive :
http://www.haskell.org/pipermail/haskell-cafe/Cheers,
Thu
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe