summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/RenderAction.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Hakyll/RenderAction.hs')
-rw-r--r--src/Text/Hakyll/RenderAction.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Hakyll/RenderAction.hs b/src/Text/Hakyll/RenderAction.hs
index b84a3c5..0038c9e 100644
--- a/src/Text/Hakyll/RenderAction.hs
+++ b/src/Text/Hakyll/RenderAction.hs
@@ -7,6 +7,7 @@ module Text.Hakyll.RenderAction
, chain
, runRenderAction
, runRenderActionIfNeeded
+ , Renderable
) where
import Control.Category
@@ -69,3 +70,5 @@ runRenderActionIfNeeded action = do
valid <- isFileMoreRecent destination $ actionDependencies action
unless valid $ do liftIO $ hPutStrLn stderr $ "Rendering " ++ destination
runRenderAction action
+
+type Renderable = RenderAction () Context