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...
commitf18ceb1b5e9294699699f468ab9fe590b7100704 authorMark Wright <gienah@gentoo.org> dateMon 5 Jan 2015, 14:38 (12 years ago) parent693f9ab
1 file changed+2−2
src/Text/Pandoc/Readers/LaTeX.hs+2−2
src/Text/Pandoc/Readers/LaTeX.hs+2−2
@@ -592,7 +592,7 @@ inNote ils =
592592
593593unescapeURL :: String -> String
594594unescapeURL ('\\':x:xs) | isEscapable x = x:unescapeURL xs
595− where isEscapable c = c `elem` "#$%&~_^\\{}"
595+ where isEscapable c = c `elem` ("#$%&~_^\\{}" :: String)
596596unescapeURL (x:xs) = x:unescapeURL xs
597597unescapeURL [] = ""
598598
@@ -1225,7 +1225,7 @@ citationLabel = optional sp *>
12251225 <* optional sp
12261226 <* optional (char ',')
12271227 <* optional sp)
1228− where isBibtexKeyChar c = isAlphaNum c || c `elem` ".:;?!`'()/*@_+=-[]*"
1228+ where isBibtexKeyChar c = isAlphaNum c || c `elem` (".:;?!`'()/*@_+=-[]*" :: String)
12291229
12301230cites :: CitationMode -> Bool -> LP [Citation]
12311231cites mode multi = try $ do