diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-05-17 11:00:53 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-05-17 11:00:53 +0200 |
commit | c9fa74fd8ea2027e31c677570f25b4c0eac3c48d (patch) | |
tree | be1cf2444aef2808b61bbe294e732ef0551bf50c | |
parent | dfe14d295ec7c3f75a0ea845d34de00cda2986e9 (diff) | |
download | hakyll-c9fa74fd8ea2027e31c677570f25b4c0eac3c48d.tar.gz |
Warning in the docs about cache types
-rw-r--r-- | src/Hakyll/Core/Compiler.hs | 4 |
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 |