From 0a1d39481440eb033f48fbbc8889bc99eda85d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 11 Mar 2015 12:02:26 +0100 Subject: Replace "lambda head" with "fun" in compiler warning We no longer use the term "lambda". --- system/doc/programming_examples/funs.xmlsrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/doc/programming_examples') 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:

./FileName.erl:Line: Warning: variable 'File' - shadowed in 'lambda head' + shadowed in 'fun'

This indicates that the variable File, which is defined inside the fun, collides with the variable File, which is defined outside the fun.

-- cgit v1.2.3