Better arity problem error reporting