Erlang Central

Arity

Revision as of 08:30, 2 September 2006 by Rvg (Talk | contribs)

(diff) ← Older revision | Latest 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]