0
Can you explain the process of the functional programm
2 Answers
+ 1
Basically, the apply_twice function doubles the application of a function passed as one of the arguments.
So you get: add_five(add_five(10))
Since add_five does just that (adds 5), you get: ((10+5)+5), which is 20.
0
Thank you.