Logiweb(TM)

7.3.4 Append, revappend, and reverse

Prev Up Next Page 179 of 800 Search internet


The base page defines a few standard operations on lists:

append ( x , y ) [append ( x , y )]

reverse ( x ) [reverse ( x )]

revappend ( x , y ) [revappend ( x , y )]

Examples of use read:

append ( << 1 ,, 2 ,, 3 >> , << 4 ,, 5 ,, 6 >> ) == << 1 ,, 2 ,, 3 ,, 4 ,, 5 ,, 6 >>

reverse ( << 1 ,, 2 ,, 3 >> ) == << 3 ,, 2 ,, 1 >>

revappend ( << 1 ,, 2 ,, 3 >> , << 4 ,, 5 ,, 6 >> ) == << 3 ,, 2 ,, 1 ,, 4 ,, 5 ,, 6 >>

Prev Up Next Page 179 of 800 Search logiweb.eu

Copyright © 2010 Klaus Grue, GRD-2010-01-05