Reversing an Immutable List

Reversing an immutable data structure in place would be a contradiction in terms; so instead we must define a reverse function that takes a list and returns its reversal.


October 17, 2013
URL:http://www.drdobbs.com/database/fast-memory-allocation/embedded-systems/reversing-an-immutable-list/240162745

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.