| Safe Haskell | Safe-Inferred |
|---|
Text.AnimalCase
Description
This Module converts between camelCase and snake_case.
The suffixes specify the base type the functions are working on.
L uses lazy Text, S uses String and B8 uses ByteString.
Beware, that you should not use ByteStrings for serious work, as
they only work with 8 bit characters. Do only use when you are
absolutely sure, there is no wide character in the string!
Documentation
toCamelCase :: Text -> TextSource
toSnakeCase :: Text -> TextSource
toCamelCaseS :: String -> StringSource
toSnakeCaseS :: String -> StringSource
toCamelCaseL :: Text -> TextSource
toSnakeCaseL :: Text -> TextSource