Re:Less is more: language features
by SatvikBeri on Monday April 13, 2015 @10:55PM
(#9371865)
Which in turn allows more modular code. I translated an example from Why FP using Python here: http://satvikberi.com/2014/10/13/functional-programming-usin...
The paper gives laziness as an example. It’s made possible by idempotency. Which is made possible by the removal (or careful management) of side-effects. Which then allows certain otherwise impossible ways to express infinite data structures.
http://www.cse.chalmers.se/~rjmh/Papers/whyfp.html