Arity

From Erlang Community

Revision as of 11:39, 2 September 2006 by Rvg (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)

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