Chapter 6
More Lists

This chapter has two main goals:

  1. To define append/3 , a predicate for concatenating two lists, and illustrate what can be done with it.
  2. To discuss two ways of reversing a list: a naive method using append/3 , and a more efficient method using accumulators.

eXTReMe Tracker
© 2006-2012 Patrick Blackburn, Johan Bos, Kristina Striegnitz