hie-compat-0.1.0.0: HIE files for GHC 8.6 and other HIE file backports

Safe HaskellNone
LanguageHaskell2010

Compat.HieDebug

Synopsis

Documentation

type Diff a = a -> a -> [SDoc] Source #

diffAst :: (Outputable a, Eq a) => Diff a -> Diff (HieAST a) Source #

diffList :: Diff a -> Diff [a] Source #

eqDiff :: (Outputable a, Eq a) => Diff a Source #

validateScopes :: Map FastString (HieAST a) -> [SDoc] Source #

Look for any identifiers which occur outside of their supposed scopes. Returns a list of error messages.