summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Compiler.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-17 11:00:53 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-17 11:00:53 +0200
commitc9fa74fd8ea2027e31c677570f25b4c0eac3c48d (patch)
treebe1cf2444aef2808b61bbe294e732ef0551bf50c /src/Hakyll/Core/Compiler.hs
parentdfe14d295ec7c3f75a0ea845d34de00cda2986e9 (diff)
downloadhakyll-c9fa74fd8ea2027e31c677570f25b4c0eac3c48d.tar.gz
Warning in the docs about cache types
Diffstat (limited to 'src/Hakyll/Core/Compiler.hs')
-rw-r--r--src/Hakyll/Core/Compiler.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Hakyll/Core/Compiler.hs b/src/Hakyll/Core/Compiler.hs
index 767a082..5ef3256 100644
--- a/src/Hakyll/Core/Compiler.hs
+++ b/src/Hakyll/Core/Compiler.hs
@@ -84,6 +84,10 @@
-- function. So, the 'require' function actually helps to reduce to complexity
-- of Hakyll applications!
--
+-- Note that require will fetch a previously compiled item: in our example of
+-- the type @a@. It is /very/ important that the compiler which produced this
+-- value, produced the right type as well!
+--
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module Hakyll.Core.Compiler
( Compiler