Arity

From Erlang Community

(Difference between revisions)
Revision as of 08:30, 2 September 2006 (edit)
Rvg (Talk | contribs)

← Previous diff
Current revision (11:39, 2 September 2006) (edit) (undo)
Rvg (Talk | contribs)
m
 
Line 5: Line 5:
function/2 function/2
-This is important in the [Exports] section of an [Erlang Module]+This is important in the [[Exports]] section of an Erlang [[Module]]
[[Category:Concepts]] [[Category:Concepts]]

Current revision

The arity of a function or an operator is the number of arguments or operands it takes.

In Erlang a function of arity 2 can be abbreviated as

function/2

This is important in the Exports section of an Erlang Module

Erlang/OTP Projects
Personal tools