I want to read strings that look like "2"  or
"hello" into values of type Integer or String.
The problem is that read requires that strings be
read as "\"hello\"".  Is there a way either to
convince read to not require wrapping quotation
marks or, alternetively, to catch a read
exception, and do something sane?

-Alex-

_________________________________________________________________
S. Alexander Jacobson                  mailto:[EMAIL PROTECTED]
tel:917-770-6565                       http://alexjacobson.com
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to