@@ -11,11 +11,11 @@ module Text.Hakyll.Render.Internal
1111
1212import qualified Data.Map as M
1313import Text.Hakyll.Context (Context, ContextManipulation)
14+import Control.DeepSeq (deepseq)
1415import Control.Monad.Reader (liftIO)
1516import Data.List (isPrefixOf, foldl')
1617import Data.Char (isAlphaNum)
1718import Data.Maybe (fromMaybe)
18−import Control.Parallel.Strategies (rdeepseq, ($|))
1919
2020import Text.Hakyll.Renderable
2121import Text.Hakyll.Page
@@ -57,7 +57,7 @@ pureRenderWith manipulation template context =
5757 let contextIgnoringRoot = M.insert "root" "$root" (manipulation context)
5858 body = regularSubstitute template contextIgnoringRoot
5959 -- Force the body to be rendered.
60− in ($|) id rdeepseq (M.insert "body" body context)
60+ in body `deepseq` M.insert "body" body context
6161
6262-- | A pure renderAndConcat function.
6363pureRenderAndConcatWith :: ContextManipulation