Tesing is important in every programming paradigm.
Discuss testability of a program written in the functional paradigm, in contrast to a program written in the imperative programming paradigm.
A few years ago I wrote a paper Systematic Unit Testing in a Read-eval-print Loop. You may consult this paper for your inspiration.
There is no solution to this exercise