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...
f18ceb1Mark Wright
src/Text/Pandoc/Readers/LaTeX.hs+2−2
@@ -592,7 +592,7 @@ inNote ils =
592
592
593unescapeURL :: String -> String
593unescapeURL :: String -> String
594unescapeURL ('\\':x:xs) | isEscapable x = x:unescapeURL xs
594unescapeURL ('\\':x:xs) | isEscapable x = x:unescapeURL xs
595− where isEscapable c = c `elem` "#$%&~_^\\{}"
595+ where isEscapable c = c `elem` ("#$%&~_^\\{}" :: String)
596unescapeURL (x:xs) = x:unescapeURL xs
596unescapeURL (x:xs) = x:unescapeURL xs
597unescapeURL [] = ""
597unescapeURL [] = ""
598
598
@@ -1225,7 +1225,7 @@ citationLabel = optional sp *>
1225 <* optional sp
1225 <* optional sp
1226 <* optional (char ',')
1226 <* optional (char ',')
1227 <* optional sp)
1227 <* optional sp)
1228− where isBibtexKeyChar c = isAlphaNum c || c `elem` ".:;?!`'()/*@_+=-[]*"
1228+ where isBibtexKeyChar c = isAlphaNum c || c `elem` (".:;?!`'()/*@_+=-[]*" :: String)
1229
1229
1230cites :: CitationMode -> Bool -> LP [Citation]
1230cites :: CitationMode -> Bool -> LP [Citation]
1231cites mode multi = try $ do
1231cites mode multi = try $ do