concat

fun concat(list1: SList, list2: SList): SList

Adds the second #GSList onto the end of the first #GSList. Note that the elements of the second #GSList are not copied. They are used directly.

Return

the start of the new #GSList

Parameters

list1

a #GSList

list2

the #GSList to add to the end of the first #GSList