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.

jstraitiff (2) [Avatar] Offline
Just a quick consistency issue. At the bottom of page 125 in v05 and at the top of the next page, there are two examples of do_sum() which inline the computation and then use the pipe operator.

In those two examples, the function signature is:

do_sum([head | tail], current_sum)

however the examples above these (and the one below those two) use a function signature of:

do_sum(current_sum, [head | tail])
sjuric (109) [Avatar] Offline
Re: Quick correction for section 3.4.2
Great catch! Thank you for pointing it out.