
prefix_element(+LCOL, ++Index, +Elem)

   Prefixes the internal list identified by Index with an Elem.

Arguments
   LCOL                A list collection
   Index               A ground term or number
   Elem                Term or variable

Type
   library(list_collection)

Description
 Complexity O(1)

Modes and Determinism
   prefix_element(+, ++, +) 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
