pretty-ghci-0.2.0.0: Functionality for beautifying GHCi
Text.PrettyPrint.GHCi.Value.Parser
parseValue :: String -> Maybe Value Source #
Parse a value from a String. Returns Nothing for inputs that could not be parsed.
String
Nothing
type Id = String Source #
A conid or varid (possibly ending in hashes, to account for MagicHash)
conid
varid
MagicHash
type Op = String Source #
A conop or varop
conop
varop
data Value Source #
A very simple representation of the output of Show
Show
Constructors
integer or floating point
character
string
Defined in Text.PrettyPrint.GHCi.Value.Parser
Methods
showsPrec :: Int -> Value -> ShowS #
show :: Value -> String #
showList :: [Value] -> ShowS #