Preparation for using pointers in compilation of scanl.