git.iko.soy/typeable/pandoc
on master help sign in
ghc 7.10.1 RC1 requires specifying the type of String literals https://ghc.haskell.org/trac/ghc/wiki/Migration/7.10#GHCsaysNoinstanceforFoldable...arisingfromtheuseof...
8b9bdedMark Wright
src/Text/Pandoc/Writers/LaTeX.hs+1−1
@@ -240,7 +240,7 @@ toLabel z = go `fmap` stringToLaTeX URLString z
240 where go [] = ""
240 where go [] = ""
241 go (x:xs)
241 go (x:xs)
242 | (isLetter x || isDigit x) && isAscii x = x:go xs
242 | (isLetter x || isDigit x) && isAscii x = x:go xs
243− | elem x "-+=:;." = x:go xs
243+ | elem x ("-+=:;." :: String) = x:go xs
244 | otherwise = "ux" ++ printf "%x" (ord x) ++ go xs
244 | otherwise = "ux" ++ printf "%x" (ord x) ++ go xs
245
245
246-- | Puts contents into LaTeX command.
246-- | Puts contents into LaTeX command.