ghc 7.10.1 RC1 requires specifying the type of String literals https://ghc.haskell.org/trac/ghc/wiki/Migration/7.10#GHCsaysNoinstanceforFoldable...arisingfromtheuseof...
This commit is contained in:
parent
dbe1b38816
commit
9c68017786
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ inlineListForNode = return . text . stringToTexinfo .
|
||||||
|
|
||||||
-- periods, commas, colons, and parentheses are disallowed in node names
|
-- periods, commas, colons, and parentheses are disallowed in node names
|
||||||
disallowedInNode :: Char -> Bool
|
disallowedInNode :: Char -> Bool
|
||||||
disallowedInNode c = c `elem` ".,:()"
|
disallowedInNode c = c `elem` (".,:()" :: String)
|
||||||
|
|
||||||
-- | Convert inline element to Texinfo
|
-- | Convert inline element to Texinfo
|
||||||
inlineToTexinfo :: Inline -- ^ Inline to convert
|
inlineToTexinfo :: Inline -- ^ Inline to convert
|
||||||
|
|
Loading…
Add table
Reference in a new issue