combinations — Logtalk 3.100.1

object

# `combinations`

Implementation of combinations operations over lists.

Availability:
`logtalk_load(combinations(loader))`
Author: Paulo Moura
Version: 2:0:0
Date: 2026-05-12
Compilation flags:
`static, context_switching_calls`
Implements:
`public` combinations_protocol
Uses:
fast_random(Algorithm)
list
natural
Remarks:
(none)
Inherited public predicates:
combination/3 combination/4 combination_index/4 combination_index/5 combinations/3 combinations/4 count_combinations/3 count_distinct_combinations/3 distinct_combination/3 distinct_combination/4 distinct_combination_index/4 distinct_combinations/3 distinct_combinations/4 next_combination/3 nth_combination/4 nth_combination/5 nth_distinct_combination/4 previous_combination/3 random_combination/3 random_distinct_combination/3 sample_combinations/4 sample_distinct_combinations/4

## 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)