aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/reference_manual/code_loading.xml
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-05-26 15:50:59 +0200
committerBjörn Gustavsson <[email protected]>2011-11-02 12:12:30 +0100
commit33c08d87a9395ae088eebcad9fb62193d26b6846 (patch)
treed7a8dfa400f0eb894f4343dc9cf74c67b8b54b2f /system/doc/reference_manual/code_loading.xml
parentb9e610cf12419c6ffe2c19df4f70009bd98ae50c (diff)
downloadotp-33c08d87a9395ae088eebcad9fb62193d26b6846.tar.gz
otp-33c08d87a9395ae088eebcad9fb62193d26b6846.tar.bz2
otp-33c08d87a9395ae088eebcad9fb62193d26b6846.zip
Reference manual: Improve the documentation for external funs
Diffstat (limited to 'system/doc/reference_manual/code_loading.xml')
-rw-r--r--system/doc/reference_manual/code_loading.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/doc/reference_manual/code_loading.xml b/system/doc/reference_manual/code_loading.xml
index f56e1ff408..3ea72a4057 100644
--- a/system/doc/reference_manual/code_loading.xml
+++ b/system/doc/reference_manual/code_loading.xml
@@ -112,8 +112,8 @@ loop() ->
<c>code_switch</c> to it. The process then will make a fully
qualified call to <c>m:loop()</c> and change to current code.
Note that <c>m:loop/0</c> must be exported.</p>
- <p>For code replacement of funs to work, the tuple syntax
- <c>{Module,FunctionName}</c> must be used to represent the fun.</p>
+ <p>For code replacement of funs to work, the syntax
+ <c>fun Module:FunctionName/Arity</c> should be used.</p>
</section>
<section>