From f8bd9be45de37fa20bb82721c8ba2fc67b8a7cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Tue, 18 Mar 2014 15:31:41 +0100 Subject: doc: Clearify language of user-defined attributes --- system/doc/reference_manual/modules.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'system/doc') diff --git a/system/doc/reference_manual/modules.xml b/system/doc/reference_manual/modules.xml index 9e5f4de385..77a8b1dc95 100644 --- a/system/doc/reference_manual/modules.xml +++ b/system/doc/reference_manual/modules.xml @@ -53,10 +53,10 @@ fact(0) -> % |
 -Tag(Value).

Tag must be an atom, while Value must be a literal - term. As a convenience in user-defined attributes, the literal term - Value the syntax Name/Arity - (where Name is an atom and Arity a positive integer) - will be translated to {Name,Arity}.

+ term. As a convenience in user-defined attributes, if the literal term + Value has the syntax Name/Arity + (where Name is an atom and Arity a positive integer), + the term Name/Arity will be translated to {Name,Arity}.

Any module attribute can be specified. The attributes are stored in the compiled code and can be retrieved by calling -- cgit v1.2.3