diff options
| author | Veronika Romashkina <vrom911@gmail.com> | 2020-02-26 10:49:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-26 11:49:03 +0100 |
| commit | d2ee5b2b0eb2afb970ab8d4feed84434dc8236e0 (patch) | |
| tree | 56a3be8e658dfc134259c61314cca00964f692d8 /lib/Hakyll/Core/Rules | |
| parent | 7b924e7d6b98db7de64fa8fc5cae14a3ea35965c (diff) | |
| download | hakyll-d2ee5b2b0eb2afb970ab8d4feed84434dc8236e0.tar.gz | |
Support GHC-8.8
Add MonadFail instances and constraints.
Diffstat (limited to 'lib/Hakyll/Core/Rules')
| -rw-r--r-- | lib/Hakyll/Core/Rules/Internal.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Hakyll/Core/Rules/Internal.hs b/lib/Hakyll/Core/Rules/Internal.hs index 647af74..2617798 100644 --- a/lib/Hakyll/Core/Rules/Internal.hs +++ b/lib/Hakyll/Core/Rules/Internal.hs @@ -88,7 +88,7 @@ emptyRulesState = RulesState Nothing Nothing -- | The monad used to compose rules newtype Rules a = Rules { unRules :: RWST RulesRead RuleSet RulesState IO a - } deriving (Monad, Functor, Applicative) + } deriving (Monad, MonadFail, Functor, Applicative) -------------------------------------------------------------------------------- |
