The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

24997 (12) [Avatar] Offline
Are function arguments lazy evaluated? Meaning if a function argument is a function with arguments say funcA, is the evaluation of the argument funcA delayed until it's needed?

Will Kurt (21) [Avatar] Offline
That's exactly right! For the most part, nothing in Haskell is evaluated until it is absolutely needed (which can often be surprisingly deep into a program). For most of Units 1-3 this is not going to have a major impact on how you write code. In Unit 4 we discuss when this become tricky and provide a couple of solutions.