summaryrefslogtreecommitdiff
path: root/lib/Hakyll/Web
diff options
context:
space:
mode:
authorNikolay Yakimov <root@livid.pp.ru>2020-03-07 12:07:12 +0300
committerGitHub <noreply@github.com>2020-03-07 16:07:12 +0700
commit92622b4a607bbc44ec85dfa8651e9e4361845af5 (patch)
treef98da4e1c6cd23d3584d00f4d63792b93a93a5ee /lib/Hakyll/Web
parente94ceb6c05a914515a5b9600c041a0442bc75542 (diff)
downloadhakyll-92622b4a607bbc44ec85dfa8651e9e4361845af5.tar.gz
Add MonadFail imports
This fixes v4.13.1.0 on GHC 8.6.
Diffstat (limited to 'lib/Hakyll/Web')
-rw-r--r--lib/Hakyll/Web/Template/Context.hs1
-rw-r--r--lib/Hakyll/Web/Template/List.hs1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/Hakyll/Web/Template/Context.hs b/lib/Hakyll/Web/Template/Context.hs
index c1a4f23..3f75466 100644
--- a/lib/Hakyll/Web/Template/Context.hs
+++ b/lib/Hakyll/Web/Template/Context.hs
@@ -54,6 +54,7 @@ module Hakyll.Web.Template.Context
--------------------------------------------------------------------------------
import Control.Applicative (Alternative (..))
import Control.Monad (msum)
+import Control.Monad.Fail (MonadFail)
import Data.List (intercalate, tails)
#if MIN_VERSION_base(4,9,0)
import Data.Semigroup (Semigroup (..))
diff --git a/lib/Hakyll/Web/Template/List.hs b/lib/Hakyll/Web/Template/List.hs
index db3fff1..458c4a7 100644
--- a/lib/Hakyll/Web/Template/List.hs
+++ b/lib/Hakyll/Web/Template/List.hs
@@ -20,6 +20,7 @@ module Hakyll.Web.Template.List
--------------------------------------------------------------------------------
import Control.Monad (liftM)
+import Control.Monad.Fail (MonadFail)
import Data.List (intersperse, sortBy)
import Data.Ord (comparing)
import Data.Time.Locale.Compat (defaultTimeLocale)