ReadP package:base-prelude

Converts a parser into a Haskell ReadS-style function. This is the main way in which you can "run" a ReadP parser: the expanded type is readP_to_S :: ReadP a -> String -> [(a,String)]
readParen True p parses what p parses, but surrounded with parentheses. readParen False p parses what p parses, but optionally surrounded with parentheses.
Proposed replacement for readsPrec using new-style parsers (GHC only).
Lift the standard readPrec and readListPrec functions through the type constructor.
Lift the standard readPrec function through the type constructor.
readPrec function for an application of the type constructor based on readPrec and readListPrec functions for the argument type.
readPrec function for an application of the type constructor based on readPrec and readListPrec functions for the argument types.