From e16e17d8ec2085b418cfa807a1bcbf0268f1d836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 11 Mar 2015 11:47:13 +0100 Subject: Replace mention of a tuple fun with an external fun --- system/doc/programming_examples/funs.xmlsrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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

It is also possible to refer to a function defined in a different module, with the following syntax:

-F = {Module, FunctionName} +F = fun Module:FunctionName/Arity

In this case, the function must be exported from the module in question.

The following program illustrates the different ways of creating -- cgit v1.2.3