permutations — Logtalk 3.100.1

object

# `permutations`

Implementation of permutations operations over lists.

Availability:
`logtalk_load(permutations(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-12
Compilation flags:
`static, context_switching_calls`
Implements:
`public` permutations_protocol
Uses:
fast_random(Algorithm)
list
natural
Remarks:
(none)
Inherited public predicates:
count_distinct_permutations/2 count_permutations/2 distinct_permutation/2 distinct_permutation/3 distinct_permutation_index/3 distinct_permutations/2 distinct_permutations/3 k_permutation/3 k_permutation/4 k_permutations/3 k_permutations/4 next_permutation/2 nth_distinct_permutation/3 nth_permutation/3 nth_permutation/4 permutation/2 permutation/3 permutation_index/3 permutation_index/4 permutations/2 permutations/3 previous_permutation/2 random_distinct_permutation/2 random_permutation/2 sample_distinct_permutations/3 sample_permutations/3

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)