diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-02-11 13:30:55 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-02-11 13:30:55 +0100 |
commit | dd81433d74579848e6853eb5a1500535c378c808 (patch) | |
tree | cb0c4c2db47b6ac7a5456be21fa9550b41b0b6ea /src/Hakyll/Core/CompiledItem.hs | |
parent | 2dfe7f6a674657d006d71eac25931bfd629b78a2 (diff) | |
download | hakyll-dd81433d74579848e6853eb5a1500535c378c808.tar.gz |
Split Rules module, add documentation
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 |