diff options
Diffstat (limited to 'src/Hakyll/Core/CompiledItem.hs')
-rw-r--r-- | src/Hakyll/Core/CompiledItem.hs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Hakyll/Core/CompiledItem.hs b/src/Hakyll/Core/CompiledItem.hs index fe6730b..5dd0efc 100644 --- a/src/Hakyll/Core/CompiledItem.hs +++ b/src/Hakyll/Core/CompiledItem.hs @@ -1,6 +1,11 @@ -- | A module containing a box datatype representing a compiled item. This --- item can be of any type, given that a few restrictions hold (e.g. we want --- a 'Typeable' instance to perform type-safe casts). +-- item can be of any type, given that a few restrictions hold: +-- +-- * we need a 'Typeable' instance to perform type-safe casts; +-- +-- * we need a 'Binary' instance so we can serialize these items to the cache; +-- +-- * we need a 'Writable' instance so the results can be saved. -- {-# LANGUAGE ExistentialQuantification #-} module Hakyll.Core.CompiledItem |