Hello.
I was reading a Haskell tutorial (Learn You a Haskell) in which the author said that laziness goes well with referential transparency. After more reading and some searching, I still don't understand why. Note that I do understand what's great about referential transparency and laziness, but it's them together that's troubling me.
Is there any special benefit of the combination of the two?
Or maybe the author just wanted to say they're both nice to have and expressed that ambiguously?