summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Internal
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-11 11:03:40 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-11 11:03:40 +0100
commitd25b0b683410211530c977625685349b11b8ff72 (patch)
tree4934b453d7a7b74f34307cf85a3c5a36871558ea /src/Text/Hakyll/Internal
parent35e824648499d868b2c37b41ecc8f847f452917b (diff)
downloadhakyll-d25b0b683410211530c977625685349b11b8ff72.tar.gz
Moved some modules around for fun and profit.
Diffstat (limited to 'src/Text/Hakyll/Internal')
-rw-r--r--src/Text/Hakyll/Internal/Cache.hs5
-rw-r--r--src/Text/Hakyll/Internal/Page.hs2
-rw-r--r--src/Text/Hakyll/Internal/Template.hs2
3 files changed, 5 insertions, 4 deletions
diff --git a/src/Text/Hakyll/Internal/Cache.hs b/src/Text/Hakyll/Internal/Cache.hs
index d586f45..2a196f1 100644
--- a/src/Text/Hakyll/Internal/Cache.hs
+++ b/src/Text/Hakyll/Internal/Cache.hs
@@ -6,10 +6,11 @@ module Text.Hakyll.Internal.Cache
import Control.Monad ((<=<))
import Control.Monad.Reader (liftIO)
-import Text.Hakyll.Hakyll (Hakyll)
-import Text.Hakyll.File
import Data.Binary
+import Text.Hakyll.File
+import Text.Hakyll.HakyllMonad (Hakyll)
+
-- | We can store all datatypes instantiating @Binary@ to the cache. The cache
-- directory is specified by the @HakyllConfiguration@, usually @_cache@.
storeInCache :: (Binary a) => a -> FilePath -> Hakyll ()
diff --git a/src/Text/Hakyll/Internal/Page.hs b/src/Text/Hakyll/Internal/Page.hs
index 5168161..8500693 100644
--- a/src/Text/Hakyll/Internal/Page.hs
+++ b/src/Text/Hakyll/Internal/Page.hs
@@ -13,7 +13,7 @@ import Text.Pandoc
import Text.Hakyll.Context (Context)
import Text.Hakyll.File
-import Text.Hakyll.Hakyll
+import Text.Hakyll.HakyllMonad
import Text.Hakyll.Regex (substituteRegex, matchesRegex)
import Text.Hakyll.Util (trim)
import Text.Hakyll.Internal.Cache
diff --git a/src/Text/Hakyll/Internal/Template.hs b/src/Text/Hakyll/Internal/Template.hs
index 6349dce..2a9b588 100644
--- a/src/Text/Hakyll/Internal/Template.hs
+++ b/src/Text/Hakyll/Internal/Template.hs
@@ -19,8 +19,8 @@ import Control.Monad.Reader (liftIO)
import Test.QuickCheck
-import Text.Hakyll.Hakyll (Hakyll)
import Text.Hakyll.Context (Context)
+import Text.Hakyll.HakyllMonad (Hakyll)
import Text.Hakyll.Internal.Cache
-- | Datatype used for template substitutions.