infer arity from function name
change name to redis-function