aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/reference_manual
diff options
context:
space:
mode:
authorMarcus Arendt <[email protected]>2014-11-24 11:45:53 +0100
committerMarcus Arendt <[email protected]>2014-11-24 11:45:53 +0100
commit09725c52dfbdcce5ebcf4e52f856f732c738b0d8 (patch)
tree0ce26399706528019235b67bdbb2c5103d46fb81 /system/doc/reference_manual
parentcb372c96f3449cfca69e2737fa3d4503fa24444a (diff)
parent069fe15452aa33440aff5e770c169bd3612d7646 (diff)
downloadotp-09725c52dfbdcce5ebcf4e52f856f732c738b0d8.tar.gz
otp-09725c52dfbdcce5ebcf4e52f856f732c738b0d8.tar.bz2
otp-09725c52dfbdcce5ebcf4e52f856f732c738b0d8.zip
Merge branch 'derek121/doc-spelling-grammar-fixes' into maint
* derek121/doc-spelling-grammar-fixes: Fix spelling and grammar
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