| Do you want us to do reverse_intlist in the very trivial way by using the built-in procedure reverse that reverses a list, or do you want us to define it ourselves? Same question for any other implementation where reverse might be usable (probably only the 2nd, haven't checked if it does pairs etc yet). |
Define your own recursive or iterative reversal by Mike O'Donnell, 2002, Oct 15
to: