Stan.Hie.Debug
Contents
Description
Useful debugging and printing utilities for HIE types. They are implemented in two ways:
Show
ghc
To make full use of derived Show instances, add the pretty-simple package to dependencies and use the pPrint function from the Text.Pretty.Simple module.
pretty-simple
pPrint
Text.Pretty.Simple
debugHieFile :: FilePath -> [HieFile] -> IO () Source #
Methods
showsPrec :: Int -> HieFile -> ShowS #
show :: HieFile -> String #
showList :: [HieFile] -> ShowS #
showsPrec :: Int -> IfaceTyConSort -> ShowS #
show :: IfaceTyConSort -> String #
showList :: [IfaceTyConSort] -> ShowS #
showsPrec :: Int -> IfaceTyConInfo -> ShowS #
show :: IfaceTyConInfo -> String #
showList :: [IfaceTyConInfo] -> ShowS #
showsPrec :: Int -> IfaceTyCon -> ShowS #
show :: IfaceTyCon -> String #
showList :: [IfaceTyCon] -> ShowS #
showsPrec :: Int -> IfaceTyLit -> ShowS #
show :: IfaceTyLit -> String #
showList :: [IfaceTyLit] -> ShowS #
showsPrec :: Int -> ArgFlag -> ShowS #
show :: ArgFlag -> String #
showList :: [ArgFlag] -> ShowS #
showsPrec :: Int -> AvailInfo -> ShowS #
show :: AvailInfo -> String #
showList :: [AvailInfo] -> ShowS #
showsPrec :: Int -> PromotionFlag -> ShowS #
show :: PromotionFlag -> String #
showList :: [PromotionFlag] -> ShowS #
showsPrec :: Int -> TupleSort -> ShowS #
show :: TupleSort -> String #
showList :: [TupleSort] -> ShowS #
showsPrec :: Int -> Module -> ShowS #
show :: Module -> String #
showList :: [Module] -> ShowS #
showsPrec :: Int -> ModuleName -> ShowS #
show :: ModuleName -> String #
showList :: [ModuleName] -> ShowS #
showsPrec :: Int -> Name -> ShowS #
show :: Name -> String #
showList :: [Name] -> ShowS #
showsPrec :: Int -> HieType a -> ShowS #
show :: HieType a -> String #
showList :: [HieType a] -> ShowS #
showsPrec :: Int -> HieArgs a -> ShowS #
show :: HieArgs a -> String #
showList :: [HieArgs a] -> ShowS #
showsPrec :: Int -> HieASTs a -> ShowS #
show :: HieASTs a -> String #
showList :: [HieASTs a] -> ShowS #
showsPrec :: Int -> HieAST a -> ShowS #
show :: HieAST a -> String #
showList :: [HieAST a] -> ShowS #
showsPrec :: Int -> NodeInfo a -> ShowS #
show :: NodeInfo a -> String #
showList :: [NodeInfo a] -> ShowS #
showsPrec :: Int -> IdentifierDetails a -> ShowS #
show :: IdentifierDetails a -> String #
showList :: [IdentifierDetails a] -> ShowS #
showsPrec :: Int -> FieldLbl a -> ShowS #
show :: FieldLbl a -> String #
showList :: [FieldLbl a] -> ShowS #