learn: function arity