diff options
Diffstat (limited to 'src/Text/Hakyll/Internal')
-rw-r--r-- | src/Text/Hakyll/Internal/Cache.hs | 5 | ||||
-rw-r--r-- | src/Text/Hakyll/Internal/Page.hs | 2 | ||||
-rw-r--r-- | src/Text/Hakyll/Internal/Template.hs | 2 |
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. |