<< Previous exercise (3.12) | Index | Next exercise (3.14) >>
meteorgan
procedure make-circle will make a circular list. The cdr of last cell of the list, instead of pointing to nil points to the first cell of the list. if we try to compute (last-pair z) will produce infinite recursion.
procedure make-circle will make a circular list. The cdr of last cell of the list, instead of pointing to nil points to the first cell of the list. if we try to compute (last-pair z) will produce infinite recursion.