Concept
Arity
Books
Journey Statusmastered Tags
INFO
(Syntax & Grammar) According to Practical foundations for programming languages , a syntactic type signature of an Operator, determining the Sort of an operator and the number and the sorts of the arguments expected by the operator.
Example: In the context of Abstract syntax tree (AST)s, if an operator has an arity for , then is of sort if is of sort .
Example: In the context of Abstract binding tree (ABT)s, if an operator has an arity , where and is$s_1, \dots, s_k.s$, then is of sort if has the corresponding Valence .