|
|
|
|
|
by dmitriid
3247 days ago
|
|
Potato potato. In the end, when the program is run, functions will be run, and side-effects will be executed. Moreover, if you invoke these functions multiple times they will produce different results. Hence, no strict adherence to FP principles. |
|
No this isn't true! Again, you clearly do not yet understand Monads. Please read Phil Wadler's paper.
What you have successfully demonstrated, is that the JavaScript snippets you have been advocating are not sufficient to understand Monads.