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 not be quoted) |
Value
A modified function equal to fn
but with par
removed from the formal
parameters.