Function types of a given arity #
This provides Function.OfArity, such that OfArity α β 2 = α → α → β.
Note that it is often preferable to use (Fin n → α) → β in place of OfArity n α β.
Main definitions #
Function.OfArity α β n:n-ary functionα → α → ... → β. Defined inductively.Function.OfArity.const α b n:n-ary constant function equal tob.