Question: Write a function apply - count that takes two arguments, f and x . It returns a pair whose car is the value of (
Write a function applycount that takes two arguments, f and x It returns a pair whose car is the value of f x and whose cdr is the total number of times applycount has been called, including the current call.
For full credit you may not use global state.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
