From c9fa74fd8ea2027e31c677570f25b4c0eac3c48d Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Tue, 17 May 2011 11:00:53 +0200 Subject: Warning in the docs about cache types --- src/Hakyll/Core/Compiler.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Hakyll') 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 -- cgit v1.2.3