a-foundation/src/main/java/com/ajjpj/afoundation/collection/immutable/AList.java
public AList<T> reverse() {
        AList<T> remaining = this;
        AList<T> result = nil();

        while(! remaining.isEmpty()) {
            result = result.cons(remaining.head());
            remaining = remaining.tail();
        }

        return result;
    }
public AList<T> reverse() {
        AList<T> remaining = this;
        AList<T> result = nil();

        while(! remaining.isEmpty()) {
            result = result.cons(remaining.head());
            remaining = remaining.tail();
        }

        return result;
    }
public AList < T > reverse ( ) { AList < T > remaining = this ; AList < T > result = nil ( ) ; while ( ! remaining . isEmpty ( ) ) { result = result . cons ( remaining . head ( ) ) ; remaining = remaining . tail ( ) ; } return result ; }
Returns a copy of this AList with elements in reversed order.
Returns a copy of this AList with elements in reversed order .