Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
concatCase :: FunctionName -> Text Source #
Simply concat each part of the FunctionName together.
[ "get", "documents", "by", "id" ] → "getdocumentsbyid"
snakeCase :: FunctionName -> Text Source #
Use the snake_case convention. Each part is separated by a single underscore character.
[ "get", "documents", "by", "id" ] → "get_documents_by_id"
camelCase :: FunctionName -> Text Source #
Use the camelCase convention. The first part is lower case, every other part starts with an upper case character.
[ "get", "documents", "by", "id" ] → "getDocumentsById"