Did you know ... Search Documentation:
samsort.pl -- SICStus 4 library(samsort).
PublicShow source
See also
- https://sicstus.sics.se/sicstus/docs/4.6.0/html/sicstus.html/lib_002dsamsort.html
To be done
- This library is incomplete. As of SICStus 4.6.0, the following predicates are missing:
Source samsort(+RawList, -Sorted) is det
Same as msort/2.
Compatibility
- SICStus 4
Source samsort(:Order, +RawList, -Sorted) is det
Similar to predsort/3, but the predicate Order is used to determine the order of terms. Order is called with two arguments, and if it succeeds, the first argument will be sorted before the second argument. Duplicates are not removed.
Compatibility
- SICStus 4
Source samkeysort(+RawList, -Sorted) is det
Same as keysort/2.
Compatibility
- SICStus 4

Re-exported predicates

The following predicates are re-exported from other modules

Source merge(+List1, +List2, -List3)
Merge the ordered sets List1 and List2 into a new ordered list. Duplicates are not removed and their order is maintained.
deprecated
- The name of this predicate is far too general for a rather specific function.