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