on master help sign in
Warning in the docs about cache types
c9fa74fJasper Van der Jeugt
src/Hakyll/Core/Compiler.hs+4
@@ -84,6 +84,10 @@
84-- function. So, the 'require' function actually helps to reduce to complexity
84-- function. So, the 'require' function actually helps to reduce to complexity
85-- of Hakyll applications!
85-- of Hakyll applications!
86--
86--
87+-- Note that require will fetch a previously compiled item: in our example of
88+-- the type @a@. It is /very/ important that the compiler which produced this
89+-- value, produced the right type as well!
90+--
87{-# LANGUAGE GeneralizedNewtypeDeriving #-}
91{-# LANGUAGE GeneralizedNewtypeDeriving #-}
88module Hakyll.Core.Compiler
92module Hakyll.Core.Compiler
89 ( Compiler
93 ( Compiler