hakyll-4.16.3.0: A static website compiler library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hakyll.Core.Rules.Internal

Synopsis

Documentation

data RuleSet Source #

Constructors

RuleSet 

Fields

Instances

Instances details
Monoid RuleSet Source # 
Instance details

Defined in Hakyll.Core.Rules.Internal

Semigroup RuleSet Source # 
Instance details

Defined in Hakyll.Core.Rules.Internal

data RulesState Source #

Constructors

RulesState 

newtype Rules a Source #

The monad used to compose rules

Constructors

Rules 

Instances

Instances details
MonadFail Rules Source # 
Instance details

Defined in Hakyll.Core.Rules.Internal

Methods

fail :: String -> Rules a #

Applicative Rules Source # 
Instance details

Defined in Hakyll.Core.Rules.Internal

Methods

pure :: a -> Rules a #

(<*>) :: Rules (a -> b) -> Rules a -> Rules b #

liftA2 :: (a -> b -> c) -> Rules a -> Rules b -> Rules c #

(*>) :: Rules a -> Rules b -> Rules b #

(<*) :: Rules a -> Rules b -> Rules a #

Functor Rules Source # 
Instance details

Defined in Hakyll.Core.Rules.Internal

Methods

fmap :: (a -> b) -> Rules a -> Rules b #

(<$) :: a -> Rules b -> Rules a #

Monad Rules Source # 
Instance details

Defined in Hakyll.Core.Rules.Internal

Methods

(>>=) :: Rules a -> (a -> Rules b) -> Rules b #

(>>) :: Rules a -> Rules b -> Rules b #

return :: a -> Rules a #

MonadMetadata Rules Source # 
Instance details

Defined in Hakyll.Core.Rules.Internal

runRules :: Rules a -> Provider -> IO RuleSet Source #

Run a Rules monad, resulting in a RuleSet