Helper functions for working with names in source code.
Checks if a name matches an Elm keyword, and proposes a different name to use instead, which is the original with an underscore appended.
cleanupName "type" == "type_"Checks if a name matches an Elm keyword, and proposes a different name to use instead, which is the original with an underscore appended.
cleanupName "type" == "type_"The name is put into camel case starting with an upper case letter.
Checks if a name matches an Elm keyword, and proposes a different name to use instead, which is the original with an underscore appended.
cleanupName "type" == "type_"The name is put into camel case starting with a lower case letter.
Sorts a list of named things.
Sorts an non-empty list of named things.
Checks that a name starts with an alpha character, and is followed only by alpha and numeric characters.