generalied elem/notElem in ghc 7.10 require some additional type signatures when using OverloadedStrings
This commit is contained in:
parent
6466dbc950
commit
9f14f51d63
2 changed files with 2 additions and 2 deletions
|
@ -483,7 +483,7 @@ iaMunge = (>>= munge)
|
|||
where
|
||||
munge c
|
||||
| isAsciiUpper c || isAsciiLower c || isNumber c = [c]
|
||||
| c `elem` "_-.\"" = [c]
|
||||
| c `elem` ("_-.\"" :: String) = [c]
|
||||
| isSpace c = []
|
||||
| otherwise = "&" ++ show (ord c) ++ ";"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue