Skip to content

Commit

Permalink
Fix some paraphraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
choptastic committed Oct 18, 2024
1 parent dbfb39e commit 3164da9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions eeps/eep-0072.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ EEP 72: Reserved words and Variables as record names, and enhancement to definit
Abstract
========

This EEP loosens some of the restrictions around record names to make it
no longer necessary to quote them when they are named with reserved
words (`#if` vs `#'if'`) or words with capitalized first characters (terms that
currently would be treated as variables, for example `#Hello` vs `#'Hello'`).
This EEP loosens some of the restrictions around record names to make it no
longer necessary to quote them when they are named with reserved words (`#if`
vs `#'if'`) or words with capitalized first characters (terms that currently
would be treated as variables, for example `#Hello` vs `#'Hello'`).

This EEP also proposes to add a new record-like syntax to the record
definitions (also adopting the above syntactical changes), so that the
Expand All @@ -24,9 +24,9 @@ following record definitions would be valid and identical:
-record #div{a :: integer(), b :: integer()}.
```

The latter one is proposed new syntax. The following would also be valid
and identical since parentheses are optional in attributes,
and since atoms may be quoted even when not mandatory:
The latter one is proposed new syntax. The following would also be valid and
identical since parentheses are optional in attributes, and since atoms may be
quoted even when not mandatory:

```erlang
-record 'div', {a :: integer(), b :: integer()}.
Expand Down

0 comments on commit 3164da9

Please sign in to comment.