diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-09-28 11:56:51 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-09-28 11:56:51 -0700 |
commit | c86691fb84ec830086bc9b5e54b1ec8e41d160c8 (patch) | |
tree | bff78fc2259df9ddad1edde9d57b0f17a3877e68 /src/Text/Pandoc/Writers/Powerpoint | |
parent | 981b5de790d7625b717083cb1bcf6a88224f34dd (diff) | |
download | pandoc-c86691fb84ec830086bc9b5e54b1ec8e41d160c8.tar.gz |
Use Prelude.fail to avoid ambiguity with fail from GHC.Base.
Diffstat (limited to 'src/Text/Pandoc/Writers/Powerpoint')
-rw-r--r-- | src/Text/Pandoc/Writers/Powerpoint/Output.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Powerpoint/Output.hs b/src/Text/Pandoc/Writers/Powerpoint/Output.hs index 79a5ed65f..4a8dc1528 100644 --- a/src/Text/Pandoc/Writers/Powerpoint/Output.hs +++ b/src/Text/Pandoc/Writers/Powerpoint/Output.hs @@ -173,7 +173,7 @@ copyFileToArchive arch fp = do refArchive <- asks envRefArchive distArchive <- asks envDistArchive case findEntryByPath fp refArchive `mplus` findEntryByPath fp distArchive of - Nothing -> fail $ fp ++ " missing in reference file" + Nothing -> Prelude.fail $ fp ++ " missing in reference file" Just e -> return $ addEntryToArchive e arch alwaysInheritedPatterns :: [Pattern] |