aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/reference_manual
diff options
context:
space:
mode:
authorMarcus Arendt <[email protected]>2014-11-24 11:46:38 +0100
committerMarcus Arendt <[email protected]>2014-11-24 11:46:38 +0100
commit2b13135cc0e23ec01f5a74c371b60ef0ec02775e (patch)
treee41d23935574e8e97b2fdc8aad29c1c4711209c5 /system/doc/reference_manual
parenta881aaf73a7c0f102175aa837679c62976575fa1 (diff)
parent09725c52dfbdcce5ebcf4e52f856f732c738b0d8 (diff)
downloadotp-2b13135cc0e23ec01f5a74c371b60ef0ec02775e.tar.gz
otp-2b13135cc0e23ec01f5a74c371b60ef0ec02775e.tar.bz2
otp-2b13135cc0e23ec01f5a74c371b60ef0ec02775e.zip
Merge branch 'maint'
Diffstat (limited to 'system/doc/reference_manual')
-rw-r--r--system/doc/reference_manual/expressions.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml
index fa8f9b2e8f..62a344ad58 100644
--- a/system/doc/reference_manual/expressions.xml
+++ b/system/doc/reference_manual/expressions.xml
@@ -283,7 +283,7 @@ fun lists:append/2([1,2], [3,4])
length([]) ->
0;
length([H|T]) ->
- 1 + length(T). %% Calls the local funtion length/1
+ 1 + length(T). %% Calls the local function length/1
f(X) when erlang:length(X) > 3 -> %% Calls erlang:length/1,
%% which is allowed in guards
@@ -301,7 +301,7 @@ f(X) when erlang:length(X) > 3 -> %% Calls erlang:length/1,
-import(mod,[length/1]).
-f(X) when erlang:length(X) > 33 -> %% Calls erlang:lenght/1,
+f(X) when erlang:length(X) > 33 -> %% Calls erlang:length/1,
%% which is allowed in guards
erlang:length(X); %% Explicit call to erlang:length in body