aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-03-11 11:47:13 +0100
committerBjörn Gustavsson <[email protected]>2015-03-12 17:42:20 +0100
commite16e17d8ec2085b418cfa807a1bcbf0268f1d836 (patch)
treeed663146d621ea6a0f748ef8391486cfea46f51b /system
parent2d3ab68c60e8bacf9e0efe403895e7065ef683be (diff)
downloadotp-e16e17d8ec2085b418cfa807a1bcbf0268f1d836.tar.gz
otp-e16e17d8ec2085b418cfa807a1bcbf0268f1d836.tar.bz2
otp-e16e17d8ec2085b418cfa807a1bcbf0268f1d836.zip
Replace mention of a tuple fun with an external fun
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 e4f5c9c9c9..7bcf2e6171 100644
--- a/system/doc/programming_examples/funs.xmlsrc
+++ b/system/doc/programming_examples/funs.xmlsrc
@@ -127,7 +127,7 @@ F = fun FunctionName/Arity</code>
<p>It is also possible to refer to a function defined in a different module,
with the following syntax:</p>
<code type="none">
-F = {Module, FunctionName}</code>
+F = fun Module:FunctionName/Arity</code>
<p>In this case, the function must be exported from the module in
question.</p>
<p>The following program illustrates the different ways of creating