-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Convert between different cases -- -- Convert Between Snake,Camel and Spinal Case @package case-conversion @version 0.1 module Text.CaseConversion toCase :: WordCase -> [[Char]] -> [Char] fromCase :: WordCase -> [Char] -> [[Char]] data WordCase Camel :: WordCase Snake :: WordCase Spinal :: WordCase toCamelCase :: [[Char]] -> [Char] toSnakeCase :: [[Char]] -> [Char] toSpinalCase :: [[Char]] -> [Char] fromCamelCase :: [Char] -> [[Char]] fromSnakeCase :: [Char] -> [[Char]] fromSpinalCase :: [Char] -> [[Char]] convertCase :: WordCase -> WordCase -> [Char] -> [Char]