Skip to content

Commit

Permalink
Add MonadFail imports
Browse files Browse the repository at this point in the history
This fixes v4.13.1.0 on GHC 8.6.
  • Loading branch information
lierdakil authored Mar 7, 2020
1 parent e94ceb6 commit 92622b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Hakyll/Core/Metadata.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module Hakyll.Core.Metadata
--------------------------------------------------------------------------------
import Control.Arrow (second)
import Control.Monad (forM)
import Control.Monad.Fail (MonadFail)
import Data.Binary (Binary (..), getWord8,
putWord8, Get)
import qualified Data.HashMap.Strict as HMS
Expand Down
1 change: 1 addition & 0 deletions lib/Hakyll/Core/Rules/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module Hakyll.Core.Rules.Internal


--------------------------------------------------------------------------------
import Control.Monad.Fail (MonadFail)
import Control.Monad.Reader (ask)
import Control.Monad.RWS (RWST, runRWST)
import Control.Monad.Trans (liftIO)
Expand Down
1 change: 1 addition & 0 deletions lib/Hakyll/Web/Template/Context.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 (..))
Expand Down
1 change: 1 addition & 0 deletions lib/Hakyll/Web/Template/List.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 92622b4

Please sign in to comment.