Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- toPlainName :: String -> String
Documentation
toPlainName :: String -> String Source #
Replace occurences of special characters (",~`-=!
#$%^&*+[]\;'/|"<>? ")
with underscores (
"_"@).
TODO: This can probably become a bit more comprehensive, anything other than a-z, A-Z, or 0-9 could probably be replaced.