Parse and evaluate fn with variable arity