diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-14 20:46:08 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-14 20:46:08 +0100 |
commit | 4bc34b8a98ffa1e7f3478a596b73c4ab12d9cb1b (patch) | |
tree | 86ff0e311ec49f794b28f973c95620918ab4f9ee /src/Text/Hakyll/Renderable.hs | |
parent | 332f2f95cdb9c72e01a55eaf46c0b08bcf37d7e9 (diff) | |
download | hakyll-4bc34b8a98ffa1e7f3478a596b73c4ab12d9cb1b.tar.gz |
Added ReaderT to our stack.
Diffstat (limited to 'src/Text/Hakyll/Renderable.hs')
-rw-r--r-- | src/Text/Hakyll/Renderable.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Hakyll/Renderable.hs b/src/Text/Hakyll/Renderable.hs index c8e780e..cafdb3c 100644 --- a/src/Text/Hakyll/Renderable.hs +++ b/src/Text/Hakyll/Renderable.hs @@ -2,13 +2,14 @@ module Text.Hakyll.Renderable ( Renderable(toContext, getDependencies, getURL) ) where +import Text.Hakyll.Hakyll (Hakyll) import System.FilePath (FilePath) import Text.Hakyll.Context (Context) -- | A class for datatypes that can be rendered to pages. class Renderable a where -- | Get a context to do substitutions with. - toContext :: a -> IO Context + toContext :: a -> Hakyll Context -- | Get the dependencies for the renderable. This is used for cache -- invalidation. |