| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
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 -> Text Source
toSnakeCase :: Text -> Text Source
toCamelCaseS :: String -> String Source
toSnakeCaseS :: String -> String Source
toCamelCaseL :: Text -> Text Source
toSnakeCaseL :: Text -> Text Source