ghc 7.10.1 RC1 requires specifying the type of String literals https://ghc.haskell.org/trac/ghc/wiki/Migration/7.10#GHCsaysNoinstanceforFoldable...arisingfromtheuseof...
commit9c68017786932e355461168d3ca0593e36d8d7f8
authorMark Wright <gienah@gentoo.org>
dateMon 5 Jan 2015, 14:48 (12 years ago)
parentdbe1b38
src/Text/Pandoc/Writers/Texinfo.hs+1−1
@@ -368,7 +368,7 @@ inlineListForNode = return . text . stringToTexinfo .
368368
369369-- periods, commas, colons, and parentheses are disallowed in node names
370370disallowedInNode :: Char -> Bool
371−disallowedInNode c = c `elem` ".,:()"
371+disallowedInNode c = c `elem` (".,:()" :: String)
372372
373373-- | Convert inline element to Texinfo
374374inlineToTexinfo :: Inline -- ^ Inline to convert