next up previous contents
Next: Merging lists using Up: CHAPTER.6: LIST PROCESSING Previous: WARNING lists in

Concatenating lists using <>

If two lists are to be joined together, the general-purpose Pop-11 concatenator can be used, as in

    vars list1 = [a b c], list2 = [d e f];
    list1 <> list2 =>
    ** [a b c d e f]

    list1 <> list2 <> list1 <> list2 =>
    ** [a b c d e f a b c d e f]


Aaron Sloman
Fri Jan 2 03:17:44 GMT 1998