Safe Haskell | None |
---|---|
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
Monad Rules Source # | |
Functor Rules Source # | |
Applicative 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 # |