Oliver Mooney wrote:
Peter,
My apologies, I've no idea how I managed to miss that bug in my last
solution. The code below does actually work this time! I did have to
use three variables though, not two (one for the accumulation of the
second list, one for the reverse of the second list, and one to track
the head of the reversed list to connect the completed accumulator).
Can it be done with two?
Yes.
Peter
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users