• The function creating a linked list, with its first element head and the following elements as another list tail

    Parameters

    • aHead: any

      a head for the list

    • aTail: List<any>

      a tail for the list

    Returns List<any>

    a list with the aforementioned head and tail