stan-0.0.1.0: Haskell STatic ANalyser
Copyright(c) 2020 Kowainik
LicenseMPL-2.0
MaintainerKowainik <xrom.xkov@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Stan.Hie.Debug

Description

Useful debugging and printing utilities for HIE types. They are implemented in two ways:

  1. Using derived Show instances.
  2. Using ghc pretty-printing.

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.

Documentation

Orphan instances

Show HieFile Source # 
Instance details

Show IfaceTyConSort Source # 
Instance details

Show IfaceTyConInfo Source # 
Instance details

Show IfaceTyCon Source # 
Instance details

Show IfaceTyLit Source # 
Instance details

Show ArgFlag Source # 
Instance details

Show AvailInfo Source # 
Instance details

Show PromotionFlag Source # 
Instance details

Show TupleSort Source # 
Instance details

Show Module Source # 
Instance details

Show ModuleName Source # 
Instance details

Show Name Source # 
Instance details

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

Show a => Show (HieType a) Source # 
Instance details

Methods

showsPrec :: Int -> HieType a -> ShowS #

show :: HieType a -> String #

showList :: [HieType a] -> ShowS #

Show a => Show (HieArgs a) Source # 
Instance details

Methods

showsPrec :: Int -> HieArgs a -> ShowS #

show :: HieArgs a -> String #

showList :: [HieArgs a] -> ShowS #

Show a => Show (HieASTs a) Source # 
Instance details

Methods

showsPrec :: Int -> HieASTs a -> ShowS #

show :: HieASTs a -> String #

showList :: [HieASTs a] -> ShowS #

Show a => Show (HieAST a) Source # 
Instance details

Methods

showsPrec :: Int -> HieAST a -> ShowS #

show :: HieAST a -> String #

showList :: [HieAST a] -> ShowS #

Show a => Show (NodeInfo a) Source # 
Instance details

Methods

showsPrec :: Int -> NodeInfo a -> ShowS #

show :: NodeInfo a -> String #

showList :: [NodeInfo a] -> ShowS #

Show a => Show (IdentifierDetails a) Source # 
Instance details

Show a => Show (FieldLbl a) Source # 
Instance details

Methods

showsPrec :: Int -> FieldLbl a -> ShowS #

show :: FieldLbl a -> String #

showList :: [FieldLbl a] -> ShowS #