HSE.Util
Documentation
moduleDecls :: Module_ -> [Decl_]
moduleName :: Module_ -> String
moduleImports :: Module_ -> [ImportDecl S]
modulePragmas :: Module_ -> [ModulePragma S]
fromModuleName :: ModuleName S -> String
fromString :: Exp_ -> String
fromPParen :: Pat s -> Pat s
fromTyParen :: Type s -> Type s
getEquations :: Decl s -> [Decl s]
fromGuardedAlts :: GuardedAlts s -> Rhs s
toGuardedAlts :: Rhs s -> GuardedAlts s
replaceBranches :: Exp s -> ([Exp s], [Exp s] -> Exp s)
childrenApps :: Exp_ -> [Exp_]
descendApps :: (Exp_ -> Exp_) -> Exp_ -> Exp_
universeApps :: Exp_ -> [Exp_]
transformApps :: (Exp_ -> Exp_) -> Exp_ -> Exp_
showSrcLoc :: SrcLoc -> String
nullSrcLoc :: SrcLoc
an :: SrcSpanInfo