aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Muse.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-28 11:56:51 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-28 11:56:51 -0700
commitc86691fb84ec830086bc9b5e54b1ec8e41d160c8 (patch)
treebff78fc2259df9ddad1edde9d57b0f17a3877e68 /src/Text/Pandoc/Readers/Muse.hs
parent981b5de790d7625b717083cb1bcf6a88224f34dd (diff)
downloadpandoc-c86691fb84ec830086bc9b5e54b1ec8e41d160c8.tar.gz
Use Prelude.fail to avoid ambiguity with fail from GHC.Base.
Diffstat (limited to 'src/Text/Pandoc/Readers/Muse.hs')
-rw-r--r--src/Text/Pandoc/Readers/Muse.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/Muse.hs b/src/Text/Pandoc/Readers/Muse.hs
index 94584a697..0b2ee9ff3 100644
--- a/src/Text/Pandoc/Readers/Muse.hs
+++ b/src/Text/Pandoc/Readers/Muse.hs
@@ -496,7 +496,7 @@ amuseNoteBlockUntil end = try $ do
ref <- noteMarker
pos <- getPosition
void spaceChar <|> lookAhead eol
- (content, e) <- allowPara $ listItemContentsUntil (sourceColumn pos) (fail "x") end
+ (content, e) <- allowPara $ listItemContentsUntil (sourceColumn pos) (Prelude.fail "x") end
addNote ref pos content
return (mempty, e)
@@ -558,7 +558,7 @@ museOrderedListMarker style =
LowerRoman -> lowerRoman
UpperAlpha -> upperAlpha
LowerAlpha -> lowerAlpha
- _ -> fail "Unhandled case"
+ _ -> Prelude.fail "Unhandled case"
orderedListItemsUntil :: PandocMonad m
=> Int