Converts a snake case, kebab case, or lower camel case String
to upper camel case.
Equations
- Lake.toUpperCamelCaseString str = String.join (List.map (fun (x : String) => x.capitalize) (str.split fun (chr : Char) => chr == '_' || chr == '-'))
Instances For
Converts a snake case, kebab case, or lower camel case Name
to upper camel case.
Equations
- Lake.toUpperCamelCase (p.str s) = (Lake.toUpperCamelCase p).mkStr (Lake.toUpperCamelCaseString s)
- Lake.toUpperCamelCase name = name