object

# `combinations`

Implementation of combinations operations over lists.

Availability:
`logtalk_load(combinations(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-02-26
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_with_replacement/3 combination_with_replacement/4 combinations/3 combinations/4 combinations_with_replacement/3 combinations_with_replacement/4 count_combinations/3 count_combinations_with_replacement/3 distinct_combination/3 distinct_combination/4 distinct_combinations/3 distinct_combinations/4 nth_combination/4 random_combination/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)