/Autotagical/Renaming/Name/Component/Format/asCamelCase.dhall

Copy path to clipboard

Renaming.Name.Component.Format.asCamelCase

Component

Given a list of name components, format them as "camel case", which consists of an initial entirely lowercase word, followed by capitalized words, all without separators, e.g. asCamelCase.

Individual components are considered word boundaries, as well as whitespace, case-sensitivity, and non-letter characters. Leading and trailing whitespace is trimmed.

Important: If Renaming.Name.With.separator is used, the separator will not be intercalated between the components in the list passed to this function. (Separators will still be inserted where applicable in the components themselves, as well as around this entire component.)

Example

["This_is-Camel", "casing"] will be converted to "thisIsCamelCasing"

Usage

let Autotagical = https://siriusstarr.github.io/autotagical/dhall/package.dhall

in  Autotagical.Renaming.Name.Component.Format.asCamelCase
      [Autotagical.Renaming.Name.Component.text "toCamel-case"]

Source

let Case =
../../../../Internal/NameTemplate/Case sha256:9e2d5a3c338b63a4e067de578f9e65952648ed6ffcf4ee0caaa211cdb2b3a3c5
? ../../../../Internal/NameTemplate/Case

let Component =
../../../../Internal/NameTemplate/File/Component sha256:b637988aae2ec7c1ee2b6fc7059008b03da8b57b1901dda79951c2045662bdfd
? ../../../../Internal/NameTemplate/File/Component

let format =
../../../../Internal/NameTemplate/File/format sha256:9412d0b754af1c6dbb1a8e6be30bb969abd3342bd31144581cb7d308677505df
? ../../../../Internal/NameTemplate/File/format

in format Case.AsCamelCase : List Component Component