| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Hakyllbars.Ast
Documentation
Instances
| ToJSON Template Source # | |
| Generic Template Source # | |
| Show Template Source # | |
| Binary Template Source # | |
| Writable Template Source # | |
| type Rep Template Source # | |
Defined in Hakyllbars.Ast type Rep Template = D1 ('MetaData "Template" "Hakyllbars.Ast" "hakyllbars-1.0.1.0-9aflCaSIsPK1VnByrNDbqL" 'False) (C1 ('MetaCons "Template" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath))) | |
Constructors
| TextBlock String SourcePos | |
| ExpressionBlock Expression SourcePos | |
| CommentBlock String SourcePos | |
| ChromeBlock Expression [Block] SourcePos | |
| AltBlock (NonEmpty ApplyBlock) (Maybe DefaultBlock) SourcePos |
Instances
getBlockName :: Block -> String Source #
getBlockPos :: Block -> SourcePos Source #
data ApplyBlock Source #
Constructors
| ApplyBlock Expression [Block] SourcePos |
Instances
data DefaultBlock Source #
Constructors
| DefaultBlock [Block] SourcePos |
Instances
data Expression Source #
Constructors