throw if first argument to R.arity is greater than ten