Heads and Tails

Learn about head, tail, and how to process lists with their help.

When we program with lists in conventional languages, we treat them as things to be iterated, meaning that it seems natural to loop over them. So, why do we have a chapter on lists and recursion? Because if we look at the ...