| Did you know ... | Search Documentation: |
| Pack logtalk -- logtalk-3.100.1/docs/handbook/_sources/libraries/arrangements.rst.txt |
.. _library_arrangements:
arrangementsThis library provides predicates for generating and querying arrangements over lists. Arrangements are ordered selections of a given length with element repetition allowed. The following categories of predicates are provided:
default or lexicographic) for controlling output
order.
Dedicated cartesian_products, permutations, combinations,
multisets, derangements, partitions, and subsequences
libraries are also available for focused APIs on related operations.
Open the `../../apis/library_index.html#arrangements <../../apis/library_index.html#arrangements>`__ link in a web browser.
To load all entities in this library, load the loader.lgt file:
::
| ?- logtalk_load(arrangements(loader)).
To test this library predicates, load the tester.lgt file:
::
| ?- logtalk_load(arrangements(tester)).