ReadP package:generic-data

Lift the standard readPrec and readListPrec functions through the type constructor.
Generic liftReadPrec.
Generic readPrec.
instance Read MyType where
readPrec = greadPrec
readListPrec = readListPrecDefault
A backwards-compatible version of liftReadPrec. This is needed for compatibility with base-4.9, where Read1 only offers liftReadsPrec, not liftReadPrec.