From 705145956d8fbb77aa0a63b87d00a10660ca3279 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Tue, 20 Feb 2018 09:17:52 -0500 Subject: Muse reader: fix compiler warning lambda variable `st` shadowed an existing variable. --- src/Text/Pandoc/Readers/Muse.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Readers') diff --git a/src/Text/Pandoc/Readers/Muse.hs b/src/Text/Pandoc/Readers/Muse.hs index b9f233a1f..c19b42503 100644 --- a/src/Text/Pandoc/Readers/Muse.hs +++ b/src/Text/Pandoc/Readers/Muse.hs @@ -912,7 +912,7 @@ link = try $ do guard $ not $ museInLink st setState $ st{ museInLink = True } (url, title, content) <- linkText - updateState (\st -> st { museInLink = False }) + updateState (\state -> state { museInLink = False }) return $ case stripPrefix "URL:" url of Nothing -> if isImageUrl url then B.image url title <$> fromMaybe (return mempty) content -- cgit v1.2.3