Keli Language
  • Motivation
  • Showcase
  • Design goals
  • Features
  • Specification
    • Section 1: Introduction
    • Section 2: Lexical Structure
    • Section 3: Basic Expressions
    • Section 4: Magic Expressions
    • Section 5: Declarations
    • Section 6: Modules
    • Section 7: Type annotations
    • Section 8: Packages
  • Style guide
    • Naming conventions
  • Techniques
    • Singleton
    • Default values for functions
  • Installation
    • How to install Keli?
  • Tutorial
    • Creating a new package
  • CONTRIBUTE
    • Github source
  • Blog
    • Interval comparison operator for free!
Powered by GitBook
On this page

Was this helpful?

  1. Style guide

Naming conventions

The naming conventions in Keli is as described in the following table:

Identifier

Convention

Example

Constant

camelCase

pi

Function

camelCase

plus

Object property

camelCase

name

Function parameter

camelCase

this

Object type alias

PascalCase

People

Tagged union

PascalCase

List

Tag

PascalCase

Cons

PreviousSection 8: PackagesNextSingleton

Last updated 6 years ago

Was this helpful?