Read package:generic-data

Generic implementation of Read

Warning

This is an internal module: it is not subject to any versioning policy, breaking changes can happen at any time. If something here seems useful, please report it or create a pull request to export it from an external module.
Lift the standard readPrec and readListPrec functions through the type constructor.
Generic representation of Read types.
Generic representation of Read1 types.
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.