ghc-mod-5.4.0.0: Happy Haskell Programming

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.GhcMod.Gap

Documentation

filterOutChildren :: (a -> TyThing) -> [a] -> [a] Source

class HasType a where Source

Methods

getType :: GhcMonad m => TypecheckedModule -> a -> m (Maybe (SrcSpan, Type)) Source

Instances

data GapThing Source

Constructors

GtA Type 
GtT TyCon 
GtN 

occName :: HasOccName name => name -> OccName

parseModuleHeader Source

Arguments

:: String

Haskell module source text (full Unicode is supported)

-> DynFlags 
-> FilePath

the filename (for source locations)

-> Either ErrorMessages (WarningMessages, Located (HsModule RdrName))