summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Hakyll.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-14 20:46:08 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-14 20:46:08 +0100
commit4bc34b8a98ffa1e7f3478a596b73c4ab12d9cb1b (patch)
tree86ff0e311ec49f794b28f973c95620918ab4f9ee /src/Text/Hakyll/Hakyll.hs
parent332f2f95cdb9c72e01a55eaf46c0b08bcf37d7e9 (diff)
downloadhakyll-4bc34b8a98ffa1e7f3478a596b73c4ab12d9cb1b.tar.gz
Added ReaderT to our stack.
Diffstat (limited to 'src/Text/Hakyll/Hakyll.hs')
-rw-r--r--src/Text/Hakyll/Hakyll.hs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Text/Hakyll/Hakyll.hs b/src/Text/Hakyll/Hakyll.hs
new file mode 100644
index 0000000..3690914
--- /dev/null
+++ b/src/Text/Hakyll/Hakyll.hs
@@ -0,0 +1,15 @@
+module Text.Hakyll.Hakyll
+ ( HakyllConfiguration (..)
+ , Hakyll
+ ) where
+
+import Text.Hakyll.Context (Context)
+import System.FilePath (FilePath)
+import Control.Monad.Reader (ReaderT)
+
+data HakyllConfiguration = HakyllConfiguration
+ { hakyllDestination :: FilePath
+ , hakyllGlobalContext :: Context
+ }
+
+type Hakyll = ReaderT HakyllConfiguration IO