Because in pure functional programming objects are all immutable, is it still possible to create memory leak?
By pure functional program, I meant there are no side effect. Of course, this is not realistic since every program has I/O. But, let's just ignore the I/O for now.
Stack Overflowwith recursive functions. very easy.stack overflowis not memory leak since you don't loose any references.