Skip to content

Commit a7c4d54

Browse files
Fix typos in Reference Manual
Co-authored-by: Maria Scott <maria-12648430@hnc-agency.org>
1 parent f1944a1 commit a7c4d54

18 files changed

Lines changed: 289 additions & 289 deletions

system/doc/reference_manual/character_set.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ limitations under the License.
2323

2424
## Character Set
2525

26-
The syntax of Erlang tokens allow the use of the full ISO-8859-1 (Latin-1)
26+
The syntax of Erlang tokens allows the use of the full ISO-8859-1 (Latin-1)
2727
character set. This is noticeable in the following ways:
2828

2929
- All the Latin-1 printable characters can be used and are shown without the

system/doc/reference_manual/code_loading.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Erlang/OTP with references to relevant parts of the documentation.
2929

3030
Erlang programs must be _compiled_ to object code. The compiler can generate a
3131
new file that contains the object code. The current abstract machine, which runs
32-
the object code, is called BEAM, therefore the object files get the suffix
32+
the object code, is called BEAM and therefore the object files get the suffix
3333
`.beam`. The compiler can also generate a binary which can be loaded directly.
3434

3535
The compiler is located in the module `m:compile` in Compiler.
@@ -53,7 +53,7 @@ The compiler can also be accessed from the OS prompt using the
5353
% erl -make
5454
```
5555

56-
The `erlc` program provides way to compile modules from the OS
56+
The `erlc` program provides a way to compile modules from the OS
5757
shell, see the [erlc](`e:erts:erlc_cmd.md`) executable in ERTS. It
5858
understands a number of flags that can be used to define macros, add search
5959
paths for include files, and more.
@@ -73,7 +73,7 @@ The code server loads code according to a code loading strategy, which is either
7373
_interactive_ (default) or _embedded_. In interactive mode, code is searched for
7474
in a _code path_ and loaded when first referenced. In embedded mode, code is
7575
loaded at start-up according to a _boot script_. This is described in
76-
[System Principles ](`e:system:system_principles.md#code_loading`).
76+
[System Principles](`e:system:system_principles.md#code_loading`).
7777

7878
## Code Replacement
7979

@@ -85,12 +85,12 @@ When a module is loaded into the system for the first time, the code becomes
8585
'current'. If then a new instance of the module is loaded, the code of the
8686
previous instance becomes 'old' and the new instance becomes 'current'.
8787

88-
Both old and current code is valid, and can be evaluated concurrently. Fully
88+
Both old and current code are valid, and can be evaluated concurrently. Fully
8989
qualified function calls always refer to current code. Old code can still be
9090
evaluated because of processes lingering in the old code.
9191

9292
If a third instance of the module is loaded, the code server removes (purges)
93-
the old code and any processes lingering in it is terminated. Then the third
93+
the old code and any processes lingering in it are terminated. Then the third
9494
instance becomes 'current' and the previously current code becomes 'old'.
9595

9696
To change from old code to current code, a process must make a fully qualified
@@ -147,7 +147,7 @@ and can be called until the `on_load` function has returned. If the `on_load`
147147
function fails, the current code (if any) will remain current. If there is no
148148
current code for a module, any process that makes an external call to the module
149149
before the `on_load` function has finished will be suspended until the `on_load`
150-
function have finished.
150+
function has finished.
151151

152152
> #### Change {: .info }
153153
>
@@ -172,4 +172,4 @@ load_my_nifs() ->
172172
```
173173

174174
If the call to `erlang:load_nif/2` fails, the module is unloaded and a warning
175-
report is sent to the error loader.
175+
report is sent to the error logger.

0 commit comments

Comments
 (0)