Did you know ... Search Documentation:
arrays.pl -- SICStus 3-compatible library(arrays).
PublicShow source
See also
- https://sicstus.sics.se/sicstus/docs/3.12.11/html/sicstus/Arrays.html
deprecated
- library(arrays) has been removed in SICStus 4.
Compatibility
- This library builds on library(rbtrees) and therefore the internal representation differs from the SICStus implementation.
Source new_array(-Array) is det
Compatibility
- SICStus-3
Source is_array(@Term) is semidet
True if Term is an array
Compatibility
- SICStus-3
Source aref(+Index, +Array, -Element) is semidet
True if Element is the current element in Array at Index.
Compatibility
- SICStus-3
Source arefa(+Index, +Array, -ArrayElement) is det
As aref/3, but succeeds with an empty array of the element is not set.
Compatibility
- SICStus-3
Source arefl(+Index, +Array, -ListElement) is det
As aref/3, but succeeds with an empty list of the element is not set.
Compatibility
- SICStus-3
Source array_to_list(+Array, -Pairs) is det
Compatibility
- SICStus-3
Source aset(+Index, +Array, +Element, -NewArray) is det
NewArray is Array with Element added/updated at Index.
Compatibility
- SICStus-3