aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-03-11 12:02:26 +0100
committerBjörn Gustavsson <[email protected]>2015-03-12 17:42:20 +0100
commit0a1d39481440eb033f48fbbc8889bc99eda85d41 (patch)
tree3835d936d6c4d3b51877f9058b7718c2ca198923 /system
parent2daff33c1cee100e7e8851cef463bda7c0237310 (diff)
downloadotp-0a1d39481440eb033f48fbbc8889bc99eda85d41.tar.gz
otp-0a1d39481440eb033f48fbbc8889bc99eda85d41.tar.bz2
otp-0a1d39481440eb033f48fbbc8889bc99eda85d41.zip
Replace "lambda head" with "fun" in compiler warning
We no longer use the term "lambda".
Diffstat (limited to 'system')
-rw-r--r--system/doc/programming_examples/funs.xmlsrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/doc/programming_examples/funs.xmlsrc b/system/doc/programming_examples/funs.xmlsrc
index 57b90ccf7c..d4c32bc854 100644
--- a/system/doc/programming_examples/funs.xmlsrc
+++ b/system/doc/programming_examples/funs.xmlsrc
@@ -190,7 +190,7 @@ print_list(File, List) ->
the following diagnostic:</p>
<code type="none">
./FileName.erl:Line: Warning: variable 'File'
- shadowed in 'lambda head'</code>
+ shadowed in 'fun'</code>
<p>This indicates that the variable <c>File</c>, which is defined
inside the fun, collides with the variable <c>File</c>, which is
defined outside the fun.</p>