summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Compiler.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-28 22:33:48 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-28 22:33:48 +0200
commitd3f15b18a537aac6364c27c6e726bcd11c869888 (patch)
treeb972ad313a573008af10119164c74cd62e406d25 /src/Hakyll/Core/Compiler.hs
parent3c8f31040f6f1bdb905d8df181dc30bca1bafbb2 (diff)
downloadhakyll-d3f15b18a537aac6364c27c6e726bcd11c869888.tar.gz
Type-safe identifiers in haddocks
Diffstat (limited to 'src/Hakyll/Core/Compiler.hs')
-rw-r--r--src/Hakyll/Core/Compiler.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Core/Compiler.hs b/src/Hakyll/Core/Compiler.hs
index 2eb219c..909f945 100644
--- a/src/Hakyll/Core/Compiler.hs
+++ b/src/Hakyll/Core/Compiler.hs
@@ -53,7 +53,7 @@
-- This illustration can help us understand the type signature of 'require'.
--
-- > require :: (Binary a, Typeable a, Writable a)
--- > => Identifier
+-- > => Identifier a
-- > -> (b -> a -> c)
-- > -> Compiler b c
--
@@ -64,7 +64,7 @@
-- These are constraints for the @a@ type. @a@ (the template) needs to have
-- certain properties for it to be required.
--
--- > Identifier
+-- > Identifier a
--
-- This is simply @templates/fancy.html@: the 'Identifier' of the item we want
-- to 'require', in other words, the name of the item we want to add to the