summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Rules
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-24 11:58:13 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-24 11:58:13 +0200
commit758e0beaaa2f9f97bb22fa4067d75efda4dbd31b (patch)
tree5f783f2652628f2d3c70a2e868e79145ff469a32 /src/Hakyll/Core/Rules
parent41b7f3713889e8c5b4a21a85d8a2fcebf0b59054 (diff)
downloadhakyll-758e0beaaa2f9f97bb22fa4067d75efda4dbd31b.tar.gz
Type-safe identifiers
Diffstat (limited to 'src/Hakyll/Core/Rules')
-rw-r--r--src/Hakyll/Core/Rules/Internal.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Core/Rules/Internal.hs b/src/Hakyll/Core/Rules/Internal.hs
index fe16062..5a1ab8e 100644
--- a/src/Hakyll/Core/Rules/Internal.hs
+++ b/src/Hakyll/Core/Rules/Internal.hs
@@ -35,7 +35,7 @@ import Hakyll.Core.CompiledItem
-- added to the runtime if possible, since other items might depend upon them.
--
data CompileRule = CompileRule CompiledItem
- | MetaCompileRule [(Identifier, Compiler () CompileRule)]
+ | MetaCompileRule [(Identifier (), Compiler () CompileRule)]
-- | A collection of rules for the compilation process
--
@@ -43,7 +43,7 @@ data RuleSet = RuleSet
{ -- | Routes used in the compilation structure
rulesRoutes :: Routes
, -- | Compilation rules
- rulesCompilers :: [(Identifier, Compiler () CompileRule)]
+ rulesCompilers :: [(Identifier (), Compiler () CompileRule)]
, -- | A list of the used resources
rulesResources :: Set Resource
}