@@ -38,7 +38,7 @@ import Hakyll.Core.Writable
38-- added to the runtime if possible, since other items might depend upon them.
38-- added to the runtime if possible, since other items might depend upon them.
40data CompileRule = CompileRule CompiledItem
40data CompileRule = CompileRule CompiledItem
41− | MetaCompileRule [(Identifier, Compiler () CompiledItem)]
41+ | MetaCompileRule [(Identifier, Compiler () CompileRule)]
43-- | A collection of rules for the compilation process
43-- | A collection of rules for the compilation process
@@ -119,4 +119,4 @@ addCompilers :: (Binary a, Typeable a, Writable a)
119addCompilers identifier compiler = RulesM $ tell $ RuleSet mempty $
119addCompilers identifier compiler = RulesM $ tell $ RuleSet mempty $
120 [(identifier, compiler >>^ makeRule)]
120 [(identifier, compiler >>^ makeRule)]
122− makeRule = MetaCompileRule . map (second (>>^ compiledItem))
122+ makeRule = MetaCompileRule . map (second (>>^ CompileRule . compiledItem))