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