| Did you know ... | Search Documentation: |
| Pack logtalk -- logtalk-3.98.0/docs/handbook/_sources/libraries/subsequences.rst.txt |
.. _library_subsequences:
subsequencesThis library provides predicates for working with subsequences represented using lists, including generation, search, contiguous subsequence operations, and random selection. The following categories of predicates are provided:
default, lexicographic, or shortlex) for
controlling output order.
Dedicated combinations and permutations libraries are also
available for focused APIs on those operations.
Open the `../../apis/library_index.html#subsequences <../../apis/library_index.html#subsequences>`__ link in a web browser.
To load all entities in this library, load the loader.lgt file:
::
| ?- logtalk_load(subsequences(loader)).
To test this library predicates, load the tester.lgt file:
::
| ?- logtalk_load(subsequences(tester)).