summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Compiler.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Core/Compiler.hs')
-rw-r--r--src/Hakyll/Core/Compiler.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Core/Compiler.hs b/src/Hakyll/Core/Compiler.hs
index e4922dd..908cb55 100644
--- a/src/Hakyll/Core/Compiler.hs
+++ b/src/Hakyll/Core/Compiler.hs
@@ -225,7 +225,7 @@ requireA identifier = (id &&& require_ identifier >>>)
requireAll_ :: (Binary a, Typeable a, Writable a)
=> Pattern
-> Compiler b [a]
-requireAll_ pattern = fromDependencies getDeps >>> fromJob requireAll_'
+requireAll_ pattern = fromDependencies (const getDeps) >>> fromJob requireAll_'
where
getDeps = matches pattern . map unResource . resourceList
requireAll_' = const $ CompilerM $ do