Safe Haskell | None |
---|
HSE.Util
Documentation
moduleDecls :: Module_ -> [Decl_]
moduleName :: Module_ -> String
moduleImports :: Module_ -> [ImportDecl S]
modulePragmas :: Module_ -> [ModulePragma S]
fromModuleName :: ModuleName S -> String
fromString :: Exp_ -> String
fromPString :: Pat t -> String
fromPParen :: Pat s -> Pat s
fromTyParen :: Type s -> Type s
isInfixApp :: Exp t -> Bool
isDerivDecl :: Decl t -> Bool
isPBangPat :: Pat t -> Bool
isPExplTypeArg :: Pat t -> Bool
isPFieldPun :: PatField t -> Bool
isFieldPun :: FieldUpdate t -> Bool
isPWildCard :: Pat t -> Bool
isPFieldWildcard :: PatField t -> Bool
isFieldWildcard :: FieldUpdate t -> Bool
isPViewPat :: Pat t -> Bool
isPatTypeSig :: Pat t -> Bool
isQuasiQuote :: Exp t -> Bool
isSpliceDecl :: Decl t -> Bool
allowRightSection :: [Char] -> Bool
allowLeftSection :: [Char] -> Bool
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_
descendAppsM :: Monad m => (Exp_ -> m Exp_) -> Exp_ -> m Exp_
universeApps :: Exp_ -> [Exp_]
transformApps :: (Exp_ -> Exp_) -> Exp_ -> Exp_
transformAppsM :: Monad m => (Exp_ -> m Exp_) -> Exp_ -> m Exp_
universeParentExp :: Biplate a Exp_ => a -> [(Maybe (Int, Exp_), Exp_)]
showSrcLoc :: SrcLoc -> String
nullSrcLoc :: SrcLoc
an :: SrcSpanInfo
dropAnn :: Functor f => f s -> f ()
intersect_ :: (Annotated f, Eq (f ())) => [f S] -> [f S] -> [f S]