############################################################ # # ljoin: Maple procedure which joins two lists. # # Illustrates use of list -> sequence and sequence -> list # idioms. # # Sample usage: # # > l1 := [1,2,3]: # > l2 := [3,4,5]: # > ljoin(l1,l2); # # [1, 2, 3, 3, 4, 5] # ############################################################ ljoin := proc(x1:list, x2:list) [ x1[], x2[] ]; end: