On Wed, Dec 14, 2016 at 10:01:27PM -0500, John Duncan wrote: > This is because A still points at the cons that was the head of the list > before sorting. If you want to update it, you have to set A to the result > of sort.
Yes. The point is that 'sort' is a "destructive" operation. See the reference of 'sort'. - Alex -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
