hakyll-4.15.1.1: A static website compiler library
Safe HaskellNone
LanguageHaskell2010

Hakyll.Core.Rules.Internal

Synopsis

Documentation

data RuleSet Source #

Constructors

RuleSet 

Fields

Instances

Instances details
Semigroup RuleSet Source # 
Instance details

Defined in Hakyll.Core.Rules.Internal

Monoid 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
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 #

Functor Rules Source # 
Instance details

Defined in Hakyll.Core.Rules.Internal

Methods

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

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

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 #

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