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

element(?Index, ++List, ?Value)

Value is the Index'th element of the integer list List.
A variable or an integer.
A non-empty list of integers.
A variable or an integer.


Deprecated (should never have been included in this module: it's not a global constraint). Use ic:element/3 instead.

Fail Conditions

Fails if Value is not the Index'th element of List.



See Also

ic : element / 3