Skip to content

Commit c352766

Browse files
authored
Update CHANGELOG.md
1 parent 1522230 commit c352766

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,17 @@ Or:
1414

1515
saudação = "Bom dia!"
1616

17-
Elixir follows the recommendations in [Unicode Annex #31](http://unicode.org/reports/tr31/) to make the language more accessible to other languages and communities. Identifiers must still be a sequence of letters, followed by digits and combining marks. This means symbols, such as mathematical notations and emoji, are not allowed identifiers.
17+
Elixir follows the recommendations in [Unicode Annex #31](http://unicode.org/reports/tr31/) to make the language more accessible to other languages and communities. Identifiers must start with a letter or underscore, optionally followed by letters, digits, and underscores. Here letter means any UTF-8 letter-character (optionally with a combining mark) and digit means a UTF-8 decimal-digit-character. If you're using ASCII, this does what you'd expect.
18+
19+
Examples of valid variables are:
20+
21+
name josé _age まつもと _42 адрес
22+
23+
Examples of invalid variables include:
24+
25+
name• a±2 42
26+
27+
Symbols, such as mathematical notations and emoji, are not allowed identifiers.
1828

1929
For a complete reference on Elixir syntax, see the [Syntax Reference](https://hexdocs.pm/elixir/syntax-reference.html). For technical details on Unicode support, see [Unicode Syntax](https://hexdocs.pm/elixir/unicode-syntax.html).
2030

0 commit comments

Comments
 (0)