diff options
author | Mark Wright <gienah@gentoo.org> | 2015-01-05 14:48:01 +1100 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2015-01-05 14:48:01 +1100 |
commit | 9c68017786932e355461168d3ca0593e36d8d7f8 (patch) | |
tree | 533008ff05af1546854623c9c6d145c901dbc441 /src | |
parent | dbe1b3881604a5b981a813cd166cdc8a67508479 (diff) | |
download | pandoc-9c68017786932e355461168d3ca0593e36d8d7f8.tar.gz |
ghc 7.10.1 RC1 requires specifying the type of String literals https://ghc.haskell.org/trac/ghc/wiki/Migration/7.10#GHCsaysNoinstanceforFoldable...arisingfromtheuseof...
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Writers/Texinfo.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Texinfo.hs b/src/Text/Pandoc/Writers/Texinfo.hs index 8ac717bab..8fd177fd3 100644 --- a/src/Text/Pandoc/Writers/Texinfo.hs +++ b/src/Text/Pandoc/Writers/Texinfo.hs @@ -368,7 +368,7 @@ inlineListForNode = return . text . stringToTexinfo . -- periods, commas, colons, and parentheses are disallowed in node names disallowedInNode :: Char -> Bool -disallowedInNode c = c `elem` ".,:()" +disallowedInNode c = c `elem` (".,:()" :: String) -- | Convert inline element to Texinfo inlineToTexinfo :: Inline -- ^ Inline to convert |