My code signals the error “application: not a procedure” or “call to non procedure”

Why is it happening Scheme procedure/function calls look like this: (operator operand …) Both operator and operands can be variables like test, and + that evaluates to different values. For a procedure call to work it has to be a procedure. From the error message it seems likely that test is not a procedure but … Read more