readsPrec package:polyparse
If you have a TextParser for a type, you can easily make it into a
Read instance, by throwing away any error messages.
If you have a TextParser for a type, you can easily make it into a
Read instance, by throwing away any error messages. Use of this
wrapper function is NOT recommended with ByteString, because there is
a lot of inefficiency in conversions to/from String.