
prefix_list(+LCOL, ++Index, +List)

   Prefixes the internal list identified by Index with a List.

Arguments
   LCOL                A list collection
   Index               A ground term or number
   List                A list of terms or variables

Type
   library(list_collection)

Description
Complexity O(|List|).

Modes and Determinism
   prefix_list(+, ++, +) is det

Exceptions
     5 --- LCOL is not a list collection.
     5 --- Index is not a number or is out of range.
     5 --- Index is not ground.

See Also
   append_element / 3, append_list / 3, prefix_list / 3
