Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data RulesRead = RulesRead {}
- data RuleSet = RuleSet {
- rulesRoutes :: Routes
- rulesCompilers :: [(Identifier, Compiler SomeItem)]
- rulesResources :: Set Identifier
- rulesPattern :: Pattern
- data RulesState = RulesState {
- rulesRoute :: Maybe Routes
- rulesCompiler :: Maybe (Compiler SomeItem)
- emptyRulesState :: RulesState
- newtype Rules a = Rules {}
- runRules :: Rules a -> Provider -> IO RuleSet
Documentation
RuleSet | |
|
data RulesState Source #
RulesState | |
|
The monad used to compose rules
Instances
MonadFail Rules Source # | |
Defined in Hakyll.Core.Rules.Internal | |
Applicative Rules Source # | |
Functor Rules Source # | |
Monad Rules Source # | |
MonadMetadata Rules Source # | |
Defined in Hakyll.Core.Rules.Internal getMetadata :: Identifier -> Rules Metadata Source # getMatches :: Pattern -> Rules [Identifier] Source # getAllMetadata :: Pattern -> Rules [(Identifier, Metadata)] Source # |