Code style
Unicode
For visual consistency, Veila uses Unicode characters where other languages may use a series of ASCII characters to simulate them.
Naming conventions
Identifier style
In Veila, words in identifiers are joined using hyphens, also known as kebab case.
Lowercase letters are typically used, but acronyms and proper nouns are capitalized as in natural language. For example:
make-HTTP-requestBoolean
Function names
Function names may use nouns or verbs in their names. Some functions come in
pure/impure pairs, which are distinguished by an exclamation mark for the
latter. For example, map returns a new list, while map! modifies the list in
place and returns #unit.
Type names
Traits use adjectives as their names:
printablenumerical