Safe Haskell | Ignore |
---|---|
Language | Haskell2010 |
Synopsis
- module Language.Haskell.Syntax.Binds
- module Language.Haskell.Syntax.Decls
- module Language.Haskell.Syntax.Expr
- module Language.Haskell.Syntax.ImpExp
- module Language.Haskell.Syntax.Lit
- module Language.Haskell.Syntax.Module.Name
- module Language.Haskell.Syntax.Pat
- module Language.Haskell.Syntax.Type
- module Language.Haskell.Syntax.Concrete
- module Language.Haskell.Syntax.Extension
- newtype ModuleName = ModuleName FastString
- data HsModule p
- = HsModule {
- hsmodExt :: XCModule p
- hsmodName :: Maybe (XRec p ModuleName)
- hsmodExports :: Maybe (XRec p [LIE p])
- hsmodImports :: [LImportDecl p]
- hsmodDecls :: [LHsDecl p]
- | XModule !(XXModule p)
- = HsModule {
Documentation
module Language.Haskell.Syntax.Expr
module Language.Haskell.Syntax.Lit
module Language.Haskell.Syntax.Pat
module Language.Haskell.Syntax.Type
newtype ModuleName Source #
A ModuleName is essentially a simple string, e.g. Data.List
.
Instances
Haskell Module
All we actually declare here is the top-level structure for a module.
HsModule | |
| |
XModule !(XXModule p) |
Instances
Data (HsModule GhcPs) Source # | |
Defined in GHC.Hs gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HsModule GhcPs -> c (HsModule GhcPs) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (HsModule GhcPs) # toConstr :: HsModule GhcPs -> Constr # dataTypeOf :: HsModule GhcPs -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (HsModule GhcPs)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (HsModule GhcPs)) # gmapT :: (forall b. Data b => b -> b) -> HsModule GhcPs -> HsModule GhcPs # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HsModule GhcPs -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HsModule GhcPs -> r # gmapQ :: (forall d. Data d => d -> u) -> HsModule GhcPs -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> HsModule GhcPs -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> HsModule GhcPs -> m (HsModule GhcPs) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HsModule GhcPs -> m (HsModule GhcPs) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HsModule GhcPs -> m (HsModule GhcPs) # | |
Outputable (HsModule GhcPs) Source # | |