[ library(list_collection) | Reference Manual | Alphabetic Index ]

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

Prefixes the internal list identified by Index with a List.

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

## Description

Complexity O(|List|).

### Modes and Determinism

- prefix_list(+, ++, +) is det

### Exceptions

(5) type error
  LCOL is not a list collection.
(5) type error
  Index is not a number or is out of range.
(5) type error
  Index is not ground.

## See Also

append_element / 3, append_list / 3, prefix_list / 3