Remove a parameter from the formal parameters of a function.

remove_formal_(fn, par)

Arguments

fn

A function we are modifying

par

A parameter of fn (should be in formals(fn) and be quoted)

Value

A modified function equal to fn but with par removed from the formal parameters.