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 (107) [Avatar] Offline
Re: Quick correction for section 3.4.2
Great catch! Thank you for pointing it out.